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: "Steve Garman" <realbasic at garman dot demon dot co dot uk>
Date: Wed, 25 May 2005 17:45:37 +0100
Delivered-to: gettingstarted at lists dot realsoftware dot com
In a message regarding Re: Sizing a new window. dated Wed, 25 May 2005
09:34:55 -0700, Tony Cerrato said that ...

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

In an empty project, with just Window1, this works for me.

Set the window's Visible property to false.

Then, in Window1.Open:

Sub Open()
  self.Width = 450
  self.Height = 450
  self.Show
End Sub

-- 
Steve Garman
Using REALbasic 5.5.5 Professional on Windows XP Pro
_______________________________________________
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>