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: Tony Cerrato <tony at pilotmaker dot com>
Date: Wed, 25 May 2005 09:34:55 -0700
Delivered-to: gettingstarted at lists dot realsoftware dot com
References: <3FD5635F-C200-4238-A5B8-B97ADC1EA453 at pilotmaker dot com> <a06200704beba522d5399 at [10 dot 10 dot 13 dot 4]>
Guys,

I tried this option - perhaps I missed a critical step - but my result was that window the dimension properties changed in the debugger but the window still was not rendered as per this new size until I caused a resize event to be occur.

If you are sure this approach SHOULD work. I will keep tinkering with it.

Tony


On May 25, 2005, at 9:03 AM, Joseph J. Strout wrote:

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>


_______________________________________________
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>