BookmarkSubscribe
Choose Language Hide Translation Bar
wr
wr
Community Trekker

How to add a check mark on a pop up menu item (JSL)

Hi,

In a JSL Popup Box  I am trying to add a check mark next to menu items selected by the user (selecting the item again would remove the check mark). Would appreciate it if you can share your script, or point me to functions that can do this (for example, is there a << Set Function to update menu commands).

Thanks!

0 Kudos
3 REPLIES 3
Craige_Hales
Staff (Retired)

Re: How to add a check mark on a pop up menu item (JSL)

Looking at the implementation just now, I don't believe there is a way to script the check mark from JSL.  Good idea, thanks.

Craige
0 Kudos
cwillden
Super User

Re: How to add a check mark on a pop up menu item (JSL)

I know this is old, but maybe it will help someone.

 

The answer is to use the message "ob << Set Menu Item State(index, 0|1|-1)" where ob is the outline box with the menu you are targeting.

-- Cameron Willden
0 Kudos
aallman
Community Trekker

Re: How to add a check mark on a pop up menu item (JSL)

How would you then allow the user to change the selection and move the check mark? 

0 Kudos