Drawers, documentation issue??

Mark Swindell mdswindell at cruzio.com
Mon Sep 3 17:55:43 EDT 2007


Thanks.  Works well and is simple.

Mark

On Sep 2, 2007, at 12:29 PM, J. Landman Gay wrote:

> 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.
>



More information about the use-livecode mailing list