and a new GM is born for everyone...

Derek Bump webmaster at dreamscapesoftware.com
Sat Apr 16 03:13:39 EDT 2005


I do realize that a lot of people love the GM.  Your code is also a very 
good idea.  But in the end I wonder how much simpler it is to just have 
a resizeStack handler in the card's script that takes care of 
everything.  This way when interface changes occur, you do not have to 
modify the script of every object, just the card script.

I do the following...

on moveStack
    updateDisplay
end moveStack

on resizeStack
    updateDisplay
end resizeStack

on updateDisplay
    lock screen
    set the rect of ...
    set the rect of ...
    get setRegistry( ... -- Save Window Position for next launch.
    unlock screen
end updateDisplay


Derek Bump
Dreamscape Software
_______________________________________________
Compress Images Easily with JPEGCompress 2.6.1
http://www.dreamscapesoftware.com/


More information about the use-livecode mailing list