Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
It is currently Mon Sep 24, 2018 10:00 am
xojo

All times are UTC - 5 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Window at the Top (Windows 7)
PostPosted: Fri Dec 21, 2012 2:10 pm 
Offline
User avatar

Joined: Wed Sep 20, 2006 5:12 pm
Posts: 680
Location: Puerto Rico
What is the best way to have one windows at the TOP of others
:idea:

_________________
Thanks for any contribution and God blesses all (I start Using RS in 10/12/2010)
Mac Mini with Lion v10.7.5 and Real Studio 2012r1 Pro And Windows 7 RS2012r1 Personal and Linux RS2012r1 Personal Register user
my Hobbies R/C Turbines Jets Models


Top
 Profile  
Reply with quote  
 Post subject: Re: Window at the Top (Windows 7)
PostPosted: Sat Dec 22, 2012 1:38 am 
Offline

Joined: Mon Aug 15, 2011 10:25 pm
Posts: 293
You can make a declare to the SetWindowPos
http://msdn.microsoft.com/en-us/library ... 45(v=vs.85).aspx

See if the code in this thread works for you
viewtopic.php?t=23025

_________________
Real Studio 2012r1.1 | MacBook Pro i5, 10.6.8 | Windows 7


Top
 Profile  
Reply with quote  
 Post subject: Re: Window at the Top (Windows 7)
PostPosted: Sat Dec 22, 2012 3:21 pm 
Offline
User avatar

Joined: Wed Sep 20, 2006 5:12 pm
Posts: 680
Location: Puerto Rico
thanks for the help
but i found the way with this small code i fix it
Timer


If WindowCount > 1 then
Select Case FrmNum
Case 1
If NewOpenFrm=False then
FrmLogin.SetFocus
FrmLogin.TxtId.Text=""
FrmLogin.TxtId.SetFocus
NewOpenFrm=True
End If

Case 4
FrmVendorCode.SetFocus
FrmVendorCode.TxtVendorCode.SetFocus
End Select

End If

_________________
Thanks for any contribution and God blesses all (I start Using RS in 10/12/2010)
Mac Mini with Lion v10.7.5 and Real Studio 2012r1 Pro And Windows 7 RS2012r1 Personal and Linux RS2012r1 Personal Register user
my Hobbies R/C Turbines Jets Models


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group