Event for form losing focus?

C

Chris

I have a form that calls ShowDialog on a number of different forms at
different times. I want to be able to know anytime the form loses
focus. But Form.Focused isn't ever true once a control has focus and
Form.Leave does not fire when showdialog is called on another form.

Anyone have any idea how to capture the form losing focus?

Chris
 
C

Chris

Herfried said:
Maybe you are looking for the form's 'Deactivate' event.

I swear I looked for that one and couldn't find it... must have been in
my dream. This project is going to kill me....

Thanks
Chris
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top