DataGrid again

Peter Haworth pete at lcsql.com
Wed Oct 8 16:08:22 EDT 2014


Do you have liveResizing on?  If so, the resizeStack message is sent
continuously as the stack is being resized and the "old" parms are the same
as the "new" parms from the previous resizeStack message.

Each of your put statements to the message box overwrites the previous one
so what you see there is the final one after the user has finished the
resize.

I can't explain the empty "old" parms in one of your examples.

Pete
lcSQL Software <http://www.lcsql.com>
Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and
SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html>

On Wed, Oct 8, 2014 at 11:48 AM, Terence Heaford <t.heaford at btinternet.com>
wrote:

> 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
> _______________________________________________
> 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