Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
It is currently Sat Sep 21, 2019 3:45 am
xojo

All times are UTC - 5 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Pushbutton retains focus when clicked
PostPosted: Sat Jul 14, 2012 8:22 am 
Offline

Joined: Sat Nov 26, 2005 4:51 am
Posts: 346
Is there any way to avoid a pushbutton to retain focus after having been clicked on Windows? They just look awful once cliked. I am aware of BevelButtons but they require the Appearance dll and I need a single exe file.

Regards.
- Oskar


Top
 Profile  
Reply with quote  
 Post subject: Re: Pushbutton retains focus when clicked
PostPosted: Sat Jul 14, 2012 8:28 am 
Offline
User avatar

Joined: Sun Aug 05, 2007 10:46 am
Posts: 4931
Location: San Diego, CA
in the click event... move the focus somewhere else

_________________
Dave Sisemore
iMac I7[2012], OSX Mountain Lion 10.8.3 RB2012r2.1
Note : I am not interested in any solutions that involve custom Plug-ins of any kind


Top
 Profile  
Reply with quote  
 Post subject: Re: Pushbutton retains focus when clicked
PostPosted: Sat Jul 14, 2012 2:14 pm 
Offline

Joined: Sat Nov 26, 2005 4:51 am
Posts: 346
Hi Dave,

no success on Windows I'm afraid...

Regards,
- Oskar


Top
 Profile  
Reply with quote  
 Post subject: Re: Pushbutton retains focus when clicked
PostPosted: Sat Jul 14, 2012 2:59 pm 
Offline

Joined: Sat Nov 26, 2005 4:51 am
Posts: 346
Ok now sorted: I'm setting the focus to a Dummy pushbutton in the Action and MouseExit events; the dummy pushbutton has property visible=true but located ouside of the window. This works fine, thanks for the suggestion.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 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