Overriding events

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

hi,

i my application ,i have checked the data in Lost focus of each
field..but when ever i click the exit button ,the control goes to the
lostfocus of someother field....i want a code for exit button , that will
exit the application with out invoking someother fields lostfocus event...in
other words i want to override all other events when i click the Exit
button.....Pls help me

Thanks in advance

with best regards

Sunil.t
 
Well, you can't pick and choose which events are processed. You must tailor
your code to handle these things. The LostFocus event occurs when the field
loses focus, of course, and moving from that field to your button will
trigger this event. I don't know what you're doing in the LostFocus event,
but it sounds as if this needs to be triggered differently.
 
hi,

thanks for the info.i want to know how i can handle such a situation?

with best regards

Sunil.T
 
<the control goes to the lostfocus of someother field>

I'm not entirely sure what you mean by this ... can you post the code behind
your exit button?
 
Back
Top