problems with set loc of a stack

Mark Schonewille m.schonewille at economy-x-talk.com
Thu Jul 24 03:35:30 EDT 2008


Hi Tiemo,

As soon as you use the open command, the defaultStack changes. Try this:

put the short name of the defaultStack into myStack
go invisible stack "foo" -- or open
set the loc of stack "foo" to the loc of stack myStack
show stack "foo"

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com
http://www.salery.biz

Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html 
  for more info.

On 24 jul 2008, at 08:50, Tiemo Hollmann TB wrote:

> Hello,
>
> I have a substack which is frequently shown and hidden. The first  
> time I do:
>
> -Open stack "foo"
>
> -Show stack "foo"
>
> -Set the loc of stack "foo" to the loc of the defaultstack
>
> When closing the window, I just hide stack "foo"
>
>> From the second "opening" I just:
>
> -Show stack "foo"
>
> -Set the loc of stack "foo" to the loc of the defaultstack
>
> Where I am struggeling is, that the set of the loc, doesn't works  
> for the
> first time (the stack is shown somewhere at 0,xy), from the second  
> show on,
> the set loc works as wanted. Why does the set loc doesn't works for  
> the
> first opening of the window?
>
> Any idea? Thanks for any comment
>
> Tiemo
>
>
>
>
>
>
>
>
>
> _______________________________________________
> 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




More information about the use-livecode mailing list