realbasic-nug
[Top] [All Lists]

Re: A Retort (was Re: blackening the screen)

To: REALbasic Network Users Group <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: A Retort (was Re: blackening the screen)
From: Thomas Reed <thomasareed at earthlink dot net>
Date: Thu, 6 Dec 2001 08:04:03 -0600
>self.width = screen(0).width + 20 //just to be sure...
>self.height = screen(0).height + 60

This is absolutely unnecessary, though it doesn't hurt.  The window 
border is outside the area defined by the top, left, width and height 
properties, so setting these properties to be the same as the screen 
works just fine.  Unless of course you're using a non-standard WDEF 
resource, where this rule is not true.

-Thomas

Personal web page:                 http://home.earthlink.net/~thomasareed/
My shareware:            http://home.earthlink.net/~thomasareed/shareware/
Pixel Pen web pub. guide: http://home.earthlink.net/~thomasareed/pixelpen/

Love thy neighbor -- but don't get caught.




<Prev in Thread] Current Thread [Next in Thread>