Drawers, documentation issue??

J. Landman Gay jacque at hyperactivesw.com
Sun Sep 2 15:29:03 EDT 2007


Mark Swindell wrote:

> Does Rev implement disclosure triangles?

It's easy to construct these. Basically:

1. Import two flipper images to your stack, one in the up position and 
the other in the down position. Rev supplies these in its image library. 
Set their visibility to false.

2. Make a transparent button with its icon as one of the flippers, and 
its hilitedicon as the other. Set the autohilite of the button to false.

3. In a mouseup handler in the button script, test the hilite of the 
button. If it is false, set the hilite of the button to true and do 
whatever you need to simulate the stack change -- show another stack at 
a particular position, change the size of the current stack, show 
different controls, whatever. If the hilite is true, set the hilite to 
false and do whatever changes are necessary to set the stack back to the 
default position or settings.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com



More information about the use-livecode mailing list