Using a field as a menu

Jim Carwardine JimCarwardine at OwnYourFuture-net.com
Wed Feb 18 15:17:21 EST 2004


I want to create a button that pulls down a menu of colour choices similar
to what you might see in MS Word or Excel.  To do that, I've created a plain
button that, when the mouse is down I show a field with several buttons
displayed in front of it so the effect looks like a menu which the user then
drags the mouse over the button showing the colour they want and select it.

The behaviour I want is to show the focus border as they drag across a
colour button, then have the colour button accept the mouseUp and execute a
colour change several text fields.  It seems as as though the first button
keeps control of the mouse until the mouse button is released.  I seem to
recall someone mentioning something similar to this but I can't find any
references to it.  Has this been discussed or is there an easier way?  Jim
-- 

OYF is... Highly resourceful people working together.
<http://www.OwnYourFuture-net.com>

Own Your Future Consulting Services Limited,
1959 Upper Water Street, Suite 407, Halifax, Nova Scotia. B3J 3N2
Info Line: 902-823-2477, Phone: 902-823-2339. Fax: 902-823-2139





More information about the use-livecode mailing list