Click twice to open drawer?
Éric Miclo
eric.miclo at wanadoo.fr
Sat Jul 26 13:32:28 EDT 2008
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 <eric.miclo at wanadoo.fr> 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
> use-revolution at lists.runrev.com
> 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! --
More information about the use-livecode
mailing list