Piotrekk,
LostFocus and GotFocus are not meant to be used in a normal windows form
application. As MSDN says they are low level events. You should use Enter
and Leave events. Enter and leave events are fired withe respect to the
windows form validation mechanism (event though the latter didn't work quite
well in .NET 1.x).
This was regarding the child controls, forms on the other hand suppress
firing these events, thus they are not listed in the property browser. Forms
fire Activate and Deactivate events instead. This is because forms are top
level windows and as such *activation/deactivation* (which is different than
focusing and losing focus) are the state that they undergo during the
application lifetime.
So look for Activate and Deactivate events when it comes to forms.
--
HTH
Stoitcho Goutsev (100) [C# MVP]
"Piotrekk" <Pi*************@gmail.com> wrote in message
news:11**********************@g49g2000cwa.googlegr oups.com...
Hi
I need to use catch an event LostFocus, but its not visible in Evens
list in Properties Window of Form1.
Should i do it manually?
How then?
Tnanks
PK