Window Positioning

Chipp Walters chipp at chipp.com
Thu Dec 8 23:05:58 EST 2005


Hi Adam,

in the stack script of the mainStack

on preOpenStack
    set the loc of this stack to the screenloc
end preOpenStack

then make sure and pass the preOpenStack message (if you're trapping it) 
from your other stacks.

best,
Chipp


Adam wrote:
> Hi All:
> 
> I'm loving the fact that my first Rev is now working as it should, but 
> now comes the cosmetic bits...  is there some way to make sure that when 
> my application is running the program itself is in the centre of the 
> user's desktop, as well as making sure that any substacks open in the 
> center of the application window?




More information about the use-livecode mailing list