gettingstarted
[Top] [All Lists]

Re: Sizing a new window.

To: Getting Started <gettingstarted at lists dot realsoftware dot com>
Subject: Re: Sizing a new window.
From: "Joseph J. Strout" <joe at realsoftware dot com>
Date: Wed, 25 May 2005 11:03:40 -0500
Delivered-to: gettingstarted at lists dot realsoftware dot com
References: <3FD5635F-C200-4238-A5B8-B97ADC1EA453 at pilotmaker dot com>
At 8:51 AM -0700 5/25/05, Tony Cerrato wrote:

I can not figure out how to size a window before it shown on the screen. I have tried the Constructor method and the activate event, but I can not use the Open event since the parameters that I need to size the window are not available until after the Open event has occurred.

Uncheck the "Visible" property for this window. That will make it open invisibly. Then you can resize it, and whenever you're ready, .Show it to make it appear.

Best,
- Joe

--
Joe Strout                          REAL Software, Inc.

Vote for REALbasic (twice!) in the LinuxWorld Reader's Choice Awards:
http://linux.sys-con.com/general/readerschoice.htm
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

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