GotFocus event never fires for form

T

Ty

I am flashing the window of my form with a timer when the form loads.
The window opens in a minimized state. I want to disable the timer
when the window gets focus, but I have found that the GotFocus event
never fires not once in the entire life time of the form.

Any thoughts?

Ty
 
C

Cor Ligthert[MVP]

Ty,

Probably not for you, but for others searching in this newsgroup, be aware
that this activating goes every time if there is something that hides the
form and it activates again.

Therefore it should in my opinion be used with a kind of switch which is set
by the timer which tells that it is activated because of that timer.

Cor
 

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