Try this:

on mouseUp
if "Consignees" is among the lines of the openStacks then close stack "Consignees"
   else drawer stack "Consignees" at right of this stack
end mouseUp

Le 26 juil. 08 à 16:58, william humphrey a écrit :


When I do the following it works as expected except the first time right after you open the stack in that case you have to click the button twice for it to work. The button is on the main stack. What can I do to make it so the button only has to be clicked once the first time. (this is hard to test
because you have to close and re-open RunRev to get the click twice
behavior).

On mouseup

 if the visible of stack "Consignees" is true then

   hide stack Consignees

 else

   drawer stack "Consignees" at right

   set visible of stack "Consignees" to true



 end if

end mouseup
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


-- My NeXT computer will Be a Mac too! --


_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to