New topic: 

Window Frame and Placement

<http://forums.realsoftware.com/viewtopic.php?t=47069>

         Page 1 of 1
   [ 1 post ]                 Previous topic | Next topic          Author  
Message        DanSandbergUCONN          Post subject: Window Frame and 
PlacementPosted: Mon Feb 25, 2013 2:31 pm                         
Joined: Fri Dec 21, 2007 9:50 am
Posts: 230                Hi All - 

I'd like the main window of my program to appear in the center of the screen. 
When the window is set to a document window, all values of Placement (Default, 
Parent Window, Main Screen, Parent Window Screen, and Stagger) place the window 
in the upper left corner of the screen. In my LR I see the following under 
Window.Placement:Quote:Placement can take on the following values:

0 - Default

1 - Parent Window

2 - Main Screen

3 - Parent Window Screen

4 - Stagger

For Drawer windows, the values have the following meaning:

0 - Top/Left

1 - Center

2 - Bottom/Right

But I don't want my main window to be a Drawer window. How do I center the main 
window of my program (currently a document window)?   
                             Top             Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 1 post ]      
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to