Drawer Stack

Sarah Reichelt sarah.reichelt at gmail.com
Mon Jan 30 00:44:56 EST 2006


> I need a drawer stack (for OSX) to be
> opened when a stack (saved as an external
> stack and loaded at runtime from a template)
> and don't seem to be able to get it to work
> (other than in a button).  The code I'm using
> is:
>
>         set the visible of stack "DrawerStack" to true
>         drawer stack "DrawerStack" at right of stack "Reptiles"
>
> Now - I've tried it in the ProOpen stack event, the
> OpenStack event (of both the splash screen and in the
> template stack) as well as in the PreOpenCard and
> OpenCard events and it just doesn't seem to happen.
> I even tried setting it so that it is in a procedure
> of it's own and being called in x number of seconds.
>
> All I want to do is show the drawer when (or even just
> after) the stack, loaded from file, shows on the screen...

I'm not sure I understand the problem, but you could try moving the
"show" command into the preOpenStack handler of the drawer stack.

Cheers,
Sarah



More information about the use-livecode mailing list