Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » prevent focusLost event on a textbox when app is minimized
prevent focusLost event on a textbox when app is minimized [message #453631] Fri, 04 August 2006 14:09
Eclipse UserFriend
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
Previous Topic:Modifying a view
Next Topic:Reusing Package Explorer or Navigator Explorer View
Goto Forum:
  


Current Time: Mon Oct 07 23:15:24 GMT 2024

Powered by FUDForum. Page generated in 0.03518 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top