An even better way to manage the drawer is:

on mouseUp
if ("Consignees" is among the lines of the openStacks) and (the Left of stack "Consignees" > the left of this stack) then -- or right/ bottom when drawer is opened at right/bottom
      close stack "Consignees"
      drawer stack "Consignees" at left -- or right/bottom
   else if ("Consignees" is among the lines of the openStacks) then
      close stack "Consignees"
   else
      drawer stack "Consignees" at left -- or right/bottom    
   end if
end mouseUp

So the double-click is not needed to reopen the drawer when it has been closed manualy.

Best,

ÉrIC

Le 26 juil. 08 à 19:22, william humphrey a écrit :


Thanks that is the ticket. So when I first open the stack the first click that appeared to do nothing was opening the stack and then the second click showing it? Kind of weird. I'm glad there is always another way to do it.

On 7/26/08, Éric Miclo <[EMAIL PROTECTED]> wrote:

Well it seems that it does not work as expected. Use this:

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


Le 26 ju
_______________________________________________
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