Click Event

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
 
S

Scott M.

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.
 
C

Cor

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
 

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