Hide group on click
Klaus on-rev
klaus at major.on-rev.com
Fri May 6 07:22:57 EDT 2011
Hi Keith,
> Hi folks,
> I have a help 'draw' group that toggles open/closed (well, visible true/false) by mouseUp on a nearby help icon. However, I'd also like to have the drawer set to invisible if clicked. So, what's wrong with this script - placed on the group?
set the VISIBLE :-)
> on mouseDown
> set the VISIBLE of me to (not the visible of me)
> end mouseDown
>
> BTW The group is just a graphic background with a single field - and the field has lockText ON, autoHilite OFF and traversalOn OFF.
>
> Thanks,
> Keith..
Best
Klaus
--
Klaus Major
http://www.major-k.de
klaus at major.on-rev.com
More information about the use-livecode
mailing list