defaultStack Scope

Dan Shafer dan at danshafer.com
Fri Jul 12 12:33:01 EDT 2002


>Appears to me, it's the last non palette stack to have focus. So, changing
>focus of a stack makes it the defaultStack.

Which I think explains what I'm seeing. Message Box is a stack. So 
when I type into it, it changes the defaultStack I just set? But it 
goes to the topStack, which isn't message box because it's a palette? 
So what am I not getting?

>-Chipp
>
>>  -----Original Message-----
>>  From: use-revolution-admin at lists.runrev.com
>>  [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Dan Shafer
>>  Sent: Friday, July 12, 2002 2:13 AM
>>  To: use-revolution at lists.runrev.com
>>  Subject: defaultStack Scope
>>
>>
>>  It appears that setting the defaultStack of a stack file is a
>>  temporary action. If I change it from the Message Box, e.g., it never
>>  "sticks." If I say:
>>
>>  set the defaultStack to "Foo"
>>
>>  and then
>>
>>  put the defaultStack
>>
>>  it always returns the stack that was the default before I typed
>>  the message.
>>
>>  I can put the same two commands in a button's mouseUp handler and
>>  it works.
>>
>>  So the question is what else can reset the defaultStack property
>>  without my doing so explicitly?
>>  --
>>  -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
>>  Dan Shafer
>>  Technology Visionary - Technology Assessment - Documentation
>>  "Looking at technology from every angle"
>>  http://www.danshafer.com
>>  831-392-1127 Voice - 831-401-2531 Fax
>>  _______________________________________________
>>  use-revolution mailing list
>>  use-revolution at lists.runrev.com
>>  http://lists.runrev.com/mailman/listinfo/use-revolution
>
>_______________________________________________
>use-revolution mailing list
>use-revolution at lists.runrev.com
>http://lists.runrev.com/mailman/listinfo/use-revolution


-- 
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
Dan Shafer
Technology Visionary - Technology Assessment - Documentation
"Looking at technology from every angle"
http://www.danshafer.com
831-392-1127 Voice - 831-401-2531 Fax



More information about the use-livecode mailing list