prevent focusLost event on a textbox when app is minimized [message #453631] |
Fri, 04 August 2006 10:09 |
Eclipse User |
|
|
|
Originally posted by: raj.ms.tcs.com
Hi,
Say I have a textbox on which I do some validation on focusLost.
When I click on the minimize button of the application, the focusevent of
the text box occurs, consequently my validation method gets called.
I don't want to validate on minimizing the application.
This also happens when I click Cancel button on a dialog. My validation
method gets executed while ideally the dialog should have been actually
discarded.
I think the focuslost event occurs before the minimize action. Is there a
way such that I can suppress this focusevent on the textbox whenever I
click the minimize button?
Please post your ideas.
Thanks
|
|
|
Powered by
FUDForum. Page generated in 0.02820 seconds