473,407 Members | 2,320 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

Click Event

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
Nov 20 '05 #1
4 1459
GotFocus and LostFocus have been replaced by Enter and Leave.
"Rochdi" <an*******@discussions.microsoft.com> wrote in message
news:12*****************************@phx.gbl...
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

Nov 20 '05 #2
How about click event, because it's working when I've
manually typed the event!!!
-----Original Message-----
GotFocus and LostFocus have been replaced by Enter and Leave.

"Rochdi" <an*******@discussions.microsoft.com> wrote in messagenews:12*****************************@phx.gbl...
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

.

Nov 20 '05 #3
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.

"Rochdi" <an*******@discussions.microsoft.com> wrote in message
news:12*****************************@phx.gbl...
How about click event, because it's working when I've
manually typed the event!!!
-----Original Message-----
GotFocus and LostFocus have been replaced by Enter and

Leave.


"Rochdi" <an*******@discussions.microsoft.com> wrote in

message
news:12*****************************@phx.gbl...
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

.

Nov 20 '05 #4
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
Nov 20 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Csaba2000 | last post by:
I want to be able to programatically click on the center of an <INPUT type=image ...> element (I only care about IE 5.5+). This should work regardless of whether IE has focus. Normally you would...
8
by: George Hester | last post by:
In a page I have when the user left-clicks the page a Input box for a form gets the focus. But if the user right-clicks the page the Input box is not getting the focus. I'd like the Input box to...
7
by: Paul Cooper | last post by:
Dear All, I am working on a piece of Javascript code that needs to detect a mouse-click, shift-click and control-click. The code is not my own - it is a part of a much larger suite of routines....
6
by: Michael Johnson Jr. | last post by:
I am trying to handle a button click event, which updates a web control table with data. The button is dynamically created in the table itself. When I call updateTable() in the Page_Load the new...
5
by: J McD | last post by:
Hi I have a DataGrid with an ImageButton column. When I click on an imagebutton I get a postback but it doesn't run the OnImgBtnClick method. I can actually comment out the line where I add this...
11
by: CW | last post by:
I have message entry screen that's causing me a bit of an issue. At the moment, there are 2 buttons, one is used to send message to another user (btnSend) and another is used to send messages to...
11
by: Terry Olsen | last post by:
How can I catch a right-click on a DropDownMenuItem?
41
by: JohnR | last post by:
In it's simplest form, assume that I have created a usercontrol, WSToolBarButton that contains a button. I would like to eventually create copies of WSToolBarButton dynamically at run time based...
5
by: kai | last post by:
Hi, In ASP.NET , what is the difference between OnClick and Click events for a button? Because we have button click event, it can trigger events, why we still need OnClick? Please help. ...
0
by: Demetri | last post by:
I have created a web control that can be rendered as either a linkbutton or a button. It is a ConfirmButton control that allows a developer to force a user to confirm if they intended to click it...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.