Stack window offset, won't return

Ken Norris (dialup) pixelbird at interisland.net
Wed Feb 13 16:11:02 EST 2002


on 2/13/02 5:06 AM, Klaus Major at kmajor at metascape.org wrote:

(snip)

> on preOpenStack
> set the decorations of me to empty
> set the backdrop to black
> hide menubar
> if the screenrect is 0,0,1024,768 then
> set the windowboundingrect to 0,0,1024,768
> set the loc of me to 512,384
> set the rect of me to 0,0,1024,768
> else
> set the loc of me to the screenloc
> end if
> .....
> end preOpenStack
> 
> 
> There is this issue with the windowboundingrect, which is different than
> desired
> in most cases ;-)
----------
What do you mean? Can you explain thie above comment a bit more?
----------
> I had the problem to display my stack (1024 * 768) fullscreen if the
> screenresolution
> was the same size. There was always a part cutt-off of that stack as
> well on the top as on the bottom.
> 
> With this script i had no more problems.
----------
I'll try it and let you know. In themeantime, thanks so much.

Best regards,
Ken N.




More information about the Use-livecode mailing list