putting a checkmark in a pop-up menu

Mark Schonewille m.schonewille at economy-x-talk.com
Mon Jun 27 17:55:28 CDT 2011


Hi Slava,

If I need to do things like that, I create a popup menu button with menu items and an option menu button without menu items. I put a mouseDown handler into the option menu button, with the following command:

     popup btn id 1008 at the topleft of me

Obiously, you need to change the ID number. You can put a checkmark before a menu item of a popup button by adding !c before the menu item.

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553

New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce

On 28 jun 2011, at 00:23, Slava Paperno wrote:

> I can't find any info on how to put a checkmark to a specific menuItem in a
> pop-up menu button... I thought "set menuHistory of me to 3" would checkmark
> item 3, but no, that apparently works only with options and combo boxes...
> any tips? Thanks,
> 
> Slava
> 




More information about the use-livecode mailing list