preOpenStack
jbv at souslelogo.com
jbv at souslelogo.com
Sat Sep 6 07:32:44 EDT 2014
Hello,
When using preopenstack or openstack, I always check the name
of the stack, no matter which version of LC.
on openStack
if short name of this stack contains "my main stack" then
-- do something
end if
end openStack
This way you're 100% safe.
Best
jbv
> I have a stack(main stack) which in the stack script contains a
> preopenstack handler that I use to set the size of the window before it
> shows.
>
> One of the datagrids on the card of this stack executes:
>
> on mouseDoubleUp theMouseButton
> open stack MyOtherStack" as sheet
> end mouseDoubleUp
>
> Since I have started using 6.7 RC1 on my Mac when open stack
> MyOtherStack" as sheet is executed the sheet window is resized to that in
> the preopenstack handler of the main stack.
>
> on preOpenStack
> set the width of this stack" to 1080
> set the height of this stack to 700
> end preOpenStack
>
> Is this a bug?
>
> Does the preopenstack handler in the script of the main stack also get
> applied to the sheet window?
>
> It didnt in earlier releases (DPs).
>
> All the best
>
> Terry
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
More information about the use-livecode
mailing list