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 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
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
.
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
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
.
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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
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...
|
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...
|
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....
|
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...
|
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...
|
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...
|
by: Terry Olsen |
last post by:
How can I catch a right-click on a DropDownMenuItem?
|
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...
|
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.
...
|
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...
|
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...
|
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...
|
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...
|
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,...
|
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...
|
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,...
|
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...
|
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...
|
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,...
| |