Could anyone please help??
I have a small dialog box type movie that opens when a user presses Exit. (It's just to confirm that they really want to exit).
I have no problem on my pc, it is a 640 x 480 environment which is full screen when run, the exit dialog opens in the centre of the screen.
However on any other size screen, it is off-centred.
I have tried the option of centred in the properties, but it will not save with that option checked??
Can anyone explain this irritation??
The button that opens it should provide a rect for the window. Or the window could determine this itself when opened. For example, in a movie script in the MIAW place the following handlers:
on openWindow aw = the activeWindow aw.rect = mCenterRectInRect(aw.sourceRect, (the desktopRectList)) end on mCenterRectInRect r1, r2 return rect(r2.width - r1.width, r2.height - r1.height, r2.width + r1.width, r2.height + r1.height)/2 end