preOpenStack

Terence Heaford t.heaford at btinternet.com
Sat Sep 6 09:12:41 EDT 2014


Thanks for your response, I am aware of this solution but…

Is what I described correct or a bug?


Thanks

Terry

On 06 Sep 2014, at 12:32, jbv at souslelogo.com wrote:

> 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 didn’t in earlier releases (DP’s).
>> 
>> 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
>> 
> 
> 
> _______________________________________________
> 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