Checkmarks in Option Button Menu Items

Ken Ray kray at sonsothunder.com
Wed Oct 24 02:31:33 EDT 2007


On Wed, 24 Oct 2007 04:36:48 +0000, Mike Hughes wrote:

> 
> I am running Rev 2.7.4 -- could anyone kindly tell me whether 
> checkmarks (!c) are now allowed in option button menu items, or 
> whether this is something slated to be fixed for 2.9?

Checkmarks in option buttons are currently not supported, and I don't 
know if they will be supported in 2.9. You can create a workaround 
though by using a transparent popup button that has all your menu items 
either in front of or behind an option button that has NO menu items, 
and then call "popup menu" on the popup button when you get the 
mouseDown on the option button. The look is pretty close, but you'll 
have to work on positioning the menu that's displayed so it causes the 
highlighted line to appear underneath the mouse (something expected in 
option buttons (at least on OS X).

HTH,

Ken Ray
Sons of Thunder Software, Inc.
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/



More information about the use-livecode mailing list