DataGrid again

Terence Heaford t.heaford at btinternet.com
Wed Oct 8 14:48:24 EDT 2014


Even more woes using this simple script:

on resizeStack newWidth,newHeight,oldWidth,oldHeight
   
   put "newWidth = " & newWidth & "," & "newHeight = " & newHeight & "," & "oldWidth = " & oldWidth & "," & "oldHeight = " & oldHeight
   
end resizeStack

Zoom window (enlarge):

newWidth = 1680,newHeight = 1024,oldWidth = 1541,oldHeight = 954

Zoom window (contract):

newWidth = 1080,newHeight = 722,oldWidth = 1082,oldHeight = 723

Zoom window again (enlarge):

newWidth = 1680,newHeight = 1024,oldWidth = 1672,oldHeight = 1021

Zoom window again (contract):

newWidth = 1080,newHeight = 722,oldWidth = 1082,oldHeight = 723


Switch to another card, zoom window then switch back to original card
Zoom window (enlarge)

newWidth = 1680,newHeight = 1002,oldWidth = ,oldHeight =       (where have the sizes gone)?


Now on the original card
Zoom window again (contract):

newWidth = 1080,newHeight = 722,oldWidth = 1123,oldHeight = 744



The sizes are all over the place, can someone please explain why?


All the best

Terry


More information about the use-livecode mailing list