473,385 Members | 1,324 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,385 software developers and data experts.

Clicking a Combobox..!!

How do you select an item in a combobox. I've tried the Click events and
that works only when I actually click the combobox. I want to select an item
in the combbox not the combbox itself. Any ideas??

Thanks..

Jim
Jul 21 '05 #1
3 1350
Set ComboBox.SelectedIndex or .SelectedItem property

"jcb1269" <jc*****@discussions.microsoft.com> wrote in message
news:C8**********************************@microsof t.com...
How do you select an item in a combobox. I've tried the Click events and
that works only when I actually click the combobox. I want to select an
item
in the combbox not the combbox itself. Any ideas??

Thanks..

Jim
Jul 21 '05 #2
Shiva,

Sorry, the combobox is already loaded. I want to select an item from it
that will fill a grid. Do I use the Click event or the SelectedIndexChanged
event or what??? What event fires off with I select something from the
combobox.?

Thank again..

Jim
"Shiva" wrote:
Set ComboBox.SelectedIndex or .SelectedItem property

"jcb1269" <jc*****@discussions.microsoft.com> wrote in message
news:C8**********************************@microsof t.com...
How do you select an item in a combobox. I've tried the Click events and
that works only when I actually click the combobox. I want to select an
item
in the combbox not the combbox itself. Any ideas??

Thanks..

Jim

Jul 21 '05 #3
Thats SelectedIndexChanged

"jcb1269" <jc*****@discussions.microsoft.com> wrote in message
news:EC**********************************@microsof t.com...
Shiva,

Sorry, the combobox is already loaded. I want to select an item from it
that will fill a grid. Do I use the Click event or the SelectedIndexChanged
event or what??? What event fires off with I select something from the
combobox.?

Thank again..

Jim
"Shiva" wrote:
Set ComboBox.SelectedIndex or .SelectedItem property

"jcb1269" <jc*****@discussions.microsoft.com> wrote in message
news:C8**********************************@microsof t.com...
How do you select an item in a combobox. I've tried the Click events and
that works only when I actually click the combobox. I want to select an
item
in the combbox not the combbox itself. Any ideas??

Thanks..

Jim

Jul 21 '05 #4

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

Similar topics

13
by: Mr. B | last post by:
Here's the situation... You've a combobox with Items already added. Say they look like this (or even lines of text): 10-00-232 10-00-256 10-01-006 10-01-213 10-02-200
7
by: Nicolae Fieraru | last post by:
Hi All, I am trying to change the rowsource of a combobox when I click on it. I played with many events, associated with the form and the combobox, but still haven't figured out what is the way...
8
by: Zlatko Matić | last post by:
There is a form (single form) and a combobox. I want that current record of the form is adjusted according to selected value in the combobox. Cuurrent record should be the same as the value in the...
0
by: Lauren Quantrell | last post by:
I use the following code to create text edit fields and command buttons in my toolbars: Function CreateToolbarObject(myObjectType as integer) Dim newObject Select Case myObjectType Case 1...
1
by: anonymous | last post by:
I've been trying to put a them, please help me out. Here's the major parts of my code: public Form1() { DataSet myDataSet = new DataSet("myDataSet"); DataTable testTable = new...
3
by: TT (Tom Tempelaere) | last post by:
Hay there, I'm writing my own DataGridComboBoxColumn because .NET 1.1 does not have one (I hope .NET 2.0 supplies one). I based it on this article:...
3
by: jcb1269 | last post by:
How do you select an item in a combobox. I've tried the Click events and that works only when I actually click the combobox. I want to select an item in the combbox not the combbox itself. Any...
6
by: dbuchanan | last post by:
VS2005 I've been reading all the help I can on the topic (MSDN, other) but I can't make sense of this. Desired behavior; The user is to choose from the displayed list of the databound combobox...
1
by: lkp_ajay_mehta | last post by:
plz help.i am beginner of ms access.any thing about listbox,combobox which help me to understand how to create listbox,combobox for working sent to me.
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.