putting a checkmark in a pop-up menu

Slava Paperno slava at lexiconbridge.com
Mon Jun 27 19:30:43 CDT 2011


Ah, yes, the "!c" prefix does it. Thank you, Mark. I don't know how I would
have ever found that in the docs... Even now that I know it, I can't find
any mention of "!c".

Gratefully,

S.

> -----Original Message-----
> From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-
> bounces at lists.runrev.com] On Behalf Of Mark Schonewille
> Sent: Monday, June 27, 2011 6:55 PM
> To: How to use LiveCode
> Subject: Re: putting a checkmark in a pop-up menu
> 
> 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






More information about the use-livecode mailing list