Real Software Forums
http://forums.realsoftware.com/

Pushbutton retains focus when clicked
http://forums.realsoftware.com/viewtopic.php?f=6&t=44714
Page 1 of 1

Author:  Oskar [ Sat Jul 14, 2012 8:22 am ]
Post subject:  Pushbutton retains focus when clicked

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

Author:  DaveS [ Sat Jul 14, 2012 8:28 am ]
Post subject:  Re: Pushbutton retains focus when clicked

in the click event... move the focus somewhere else

Author:  Oskar [ Sat Jul 14, 2012 2:14 pm ]
Post subject:  Re: Pushbutton retains focus when clicked

Hi Dave,

no success on Windows I'm afraid...

Regards,
- Oskar

Author:  Oskar [ Sat Jul 14, 2012 2:59 pm ]
Post subject:  Re: Pushbutton retains focus when clicked

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.

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/