Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
It is currently Sun Jun 24, 2018 11:48 am
xojo

All times are UTC - 5 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: SetFocus not working after Dialog Display
PostPosted: Sun Dec 09, 2012 9:57 pm 
Offline

Joined: Sat Jan 14, 2012 2:29 pm
Posts: 26
I need to display a Web Dialog (the slide down screens) then return to the underlying Web Page. Upon returning to the Web Page I need to set focus to a specific Text Field. The SetFocus method does NOT work after displaying a Web Dialog. If I use a Message Box (MsgBox) and do NOT display the Web Dialog the SetFocus DOES work as expected.

Bug?

Is there any way to solve this problem?

_________________
Mark
mark@SimplyBASICsoftware.com


Top
 Profile  
Reply with quote  
 Post subject: Re: SetFocus not working after Dialog Display
PostPosted: Sat Dec 15, 2012 3:39 pm 
Offline
Real Software Engineer

Joined: Tue Jul 14, 2009 4:33 pm
Posts: 146
Location: Raleigh, NC
I just tried this here and it seems to be working properly. Where are you calling SetFocus?

_________________
Greg O'Lone
Software Engineer
Real Software


Top
 Profile  
Reply with quote  
 Post subject: Re: SetFocus not working after Dialog Display
PostPosted: Sat Dec 15, 2012 10:33 pm 
Offline

Joined: Mon May 31, 2010 5:35 am
Posts: 2412
Location: Netherlands
Make sure you call setfocus on the webpage control after the web dialog is dismissed, that way the webdialog events should not block on the browser side.

_________________
SWORT™
- Windows Vista, Windows XP, Windows 7, Linux Mint 11 and Mac OSX Lion
- REAL Studio Enterprise(latest) and WEB Edition(latest)
- Plugins (MBS Complete, ToringoLib, Einhugur, VanHoek + Some open source plugins)
For Dutch User Groups ask me to enter!


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:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group