Click Event

  • Thread starter Thread starter Rochdi
  • Start date Start date
R

Rochdi

Hi guys, I'm using the VS 2002 version and for a TextBox,
I've selected the Textbox control from the left combo in
the code page and I've seen many events but I couldn't
find the Click, GotFocus or LostFocus events like in VB6,
and if I type the event like:
Private Sub TextBox1_Click(.......)TextBox1.Click
End Sub
it is working!!! So how can I be able to see the Click,
GotFocus or LostFocus events in the right combo box..!!?


Cheers
 
The click event is a base class (TextBoxBase) event. Since you are making
an instance of a textbox, it has the events that it's base class has.

The Object Browser (F2) is a great tool for seeing/finding this kind of
information.
 
Hi Rochdi,

That is one of the base events from every windowforms control, it has to be
in that right combobox.

Or are you maybe using a webform textbox?

Cor
 
Back
Top