473,398 Members | 2,404 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,398 software developers and data experts.

A question about the Click event for ListBox

Hello!

If you drag a ListBox into a windowform and then right click on this ListBox
and then chose property.
When you have the properties up click on the flash symbol for seeing all the
events for this ListBox.

The property page where you can see all the events I call property event
page.

Now to my question why isn't there any item for the Click event to select in
the property event page.
Because the ListBox has this type of event.
If the instance of the class ListBox is called listBox1 and you write
listBox. note I have a dot(.) after the object listBox1 you will see that
there exist an event called Click.

Can somebody explain this for me?

//Tony
May 5 '06 #1
1 1851
Hi Tony,

I am using VS 2005 IDE. When I click on the properties, i am getting
the Click event in the event list.
Reshma
"tony" <jo*****************@telia.com> wrote in message
news:ek**************@TK2MSFTNGP04.phx.gbl...
Hello!

If you drag a ListBox into a windowform and then right click on this
ListBox
and then chose property.
When you have the properties up click on the flash symbol for seeing all
the
events for this ListBox.

The property page where you can see all the events I call property event
page.

Now to my question why isn't there any item for the Click event to select
in
the property event page.
Because the ListBox has this type of event.
If the instance of the class ListBox is called listBox1 and you write
listBox. note I have a dot(.) after the object listBox1 you will see that
there exist an event called Click.

Can somebody explain this for me?

//Tony

May 5 '06 #2

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

Similar topics

3
by: Bernardo | last post by:
Hi, Hi have a Listbox whith some values but I want to select the first line and execute the routine on_click. I selected allready the list value, but how can Y force the click event? Thanks...
6
by: Dan Bass | last post by:
If you look at explorer, right clicking on a file, first selects the file, then throws up the context menu relating to that selection. With a Windows ListBox control and a simple context menu,...
2
by: Al Murphy | last post by:
Hi, I've written a very basic windows application with a pushbutton and a listbox. When the user clicks on the button it should display a message in the listbox. Sounds simple right? Well mine...
6
by: Steve | last post by:
Hi, I open up a webform (vb.net) and populate a listbox control on the Page load event. If I click on (select) and item from the listbox I want to write the value of the selected item to a...
3
by: Rosanne | last post by:
Is there a way to clear the SelectedIndex of a listbox when the browser's back button is clicked? I have a page that contains a server side list box with AutoPostBack = True. When the user...
2
by: Niels Jensen | last post by:
Is there a way to select an item ina listbox with the right click event? basically I want a user to be able to rightclick an item which will select the item and then bring up the context menu which...
2
by: Sidney | last post by:
I tried to databind the listbox in vb.net with dataset I wrote some code in the listbox selectedindexchanged event, however, whenever the programme goes to the selectedindexchanged, it hanged and I...
3
by: Randy Harris | last post by:
With a multiple column listbox, I'd like to be able to change the sort by allowing the user to click on a column. Is there a practical way detect in which column the user clicked? I know this...
5
by: buddydasari | last post by:
Hi all I wrote a listbox onclick event.On a click i want to get the selected row details but the listbox.selected(i) always returns false ,it returns true only in double click event.Are they...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
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
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.