I think I have a corrupted card. I noticed that when resizing the card some 
objects change their position. When I look at the object’s properties however, 
I am not using the geometry manager. I will probably try to re-create the card. 

Bob S


> On Jul 17, 2015, at 21:26 , Paul Hibbert <[email protected]> wrote:
> 
> Seems to be working fine here (including breakpoints) with LC 7.1.0 (dp1), LC 
> 6.7.6, LC7.6.4 and LC 5.5.5 on OS X 10.10.4
> 
> Simple test stack is on DBx if it’s any use…
> 
> https://www.dropbox.com/s/3tu8fuja2oekfpp/Bob%20Script%20Test%205.livecode?dl=0
> 
> Paul
> 
>> On Jul 17, 2015, at 19:48, Bob Sneidar <[email protected]> wrote:
>> 
>> Same thing with 6.7.6. I guess I can try a version of 7… I don’t think 
>> anything is going to change. 
>> 
>> Bob S
>> 
>> 
>>> On Jul 17, 2015, at 19:32 , Bob Sneidar <[email protected]> wrote:
>>> 
>>> What is even weirder, is that if I set a breakpoint after the height or 
>>> width statement in the openCard handler, whichever is first, the command 
>>> completes and executes the first sizing statement but then the script 
>>> crashes! If I put a breakpoint after the first sizing statement, it never 
>>> reaches the breakpoint. 
>>> 
>>> I am going to try opening a copy of the stack in the latest 6.7 version and 
>>> see what happens. 
>>> 
>>> Bob S
>>> 
>>> 
>>>> On Jul 17, 2015, at 19:26 , Bob Sneidar <[email protected]> 
>>>> wrote:
>>>> 
>>>> Hi all. 
>>>> 
>>>> I have these two handlers in each of 3 cards of a stack:
>>>> 
>>>> on openCard
>>>> lock screen
>>>> 
>>>> -- set the size of the stack
>>>> set the width of this stack to the lastWidth of me
>>>> set the height of this stack to the lastHeight of me
>>>> set the loc of this stack to the lastLoc of me
>>>> end openCard
>>>> 
>>>> on closeCard
>>>> set the lastHeight of me to the height of this stack
>>>> set the lastWidth of me to the width of this stack
>>>> set the lastLoc of me to the loc of this stack
>>>> end closeCard
>>>> 
>>>> I check the properties and each have been updated fine for each card this 
>>>> is called from. However, the openCard handler, while it compiles fine, 
>>>> exits as soon as I try to set the width of the stack in the openStack 
>>>> handler. 
>>>> 
>>>> If I swap the width and height statements in the openCard handler, the 
>>>> height gets set but the width does not, but *ONLY* on this one card!!!!! 
>>>> Apparently I seem to be in some condition where the width of a stack is 
>>>> read only but only with this one card! Whaaaaaa?????
>>>> 
>>>> OS X 10.10.3    LC 6.7.2
>>>> 
>>>> Bob S
>>> 
>> 
>> _______________________________________________
>> use-livecode mailing list
>> [email protected]
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> Regards,
> 
> Paul Hibbert
> [email protected]
> 
> 
> 
> 
> _______________________________________________
> use-livecode mailing list
> [email protected]
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to