New topic: 

Window setfocus

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

         Page 1 of 1
   [ 2 posts ]                 Previous topic | Next topic          Author  
Message        jetpr          Post subject: Window setfocusPosted: Fri Nov 30, 
2012 9:18 pm                                 
Joined: Wed Sep 20, 2006 5:12 pm
Posts: 528
Location: Puerto Rico                hello

i need to open two window at the same time but the window1 open the window2 and 
i need to setfocus to the window2

but is show the focus in the window1

     
_________________
Thanks for any contribution  and  God blesses all (I start Using RS in 
10/12/2010)
 Mac Mini with Snow Leopard v10.6.8 and Real Studio 2012r1 Pro And Windows 7 
RS2012r1 Personal  and  Linux RS2012r1 Personal Register user 
   my Hobbies R/C Turbines Jets Models  
                             Top                timhare          Post subject: 
Re: Window setfocusPosted: Fri Nov 30, 2012 10:12 pm                         
Joined: Fri Jan 06, 2006 3:21 pm
Posts: 11856
Location: Portland, OR  USA                Set a timer in window2 that will 
bring it to the front and set focus.  The actual details may vary by OS, but 
start with

self.Show
SomeControlOnWindow2.SetFocus   
                             Top             Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 2 posts ]      
-- 
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