Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > Other .NET > General .NET
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
General .NET For general discussion of MICROSOFT .NET topics that don't fall within any of the other .NET forum subcategories or .NET language forums.  If your question is specific to a language (C# or Visual Basic) or type of application (Windows Forms or ASP.Net) try an applicable forum category. ** PLEASE BE SPECIFIC WITH YOUR QUESTION ** When posting here, provide details regarding the Microsoft .NET language you are using and/or what type of application (Windows/Web Forms, etc) you are working in, if applicable to the question. This will help others answer the question without having to ask.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the General .NET section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old October 11th, 2004, 04:01 PM
Registered User
 
Join Date: Oct 2004
Location: evenyehuda, , Israel.
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default combobox dropdown style.

hello.
[u][u]General description:</u></u>
I have windows application in vs 2003.
i have a win form that contains 4 combobox with DropDown style :
the user can choose an item by clicking (mouse),or by typing a value (keyboard).
when the user types a value - i need to set values to the other comboboxs.

[u]My problem :</u>
when the user selects value by clicking , i'm using the "SelectionChangeCommitted" event to set values to the other combobox
BUT
when the user types values - i can't find the event to set value to the other combobox.
I tried to use the "Leave" event but sometimes the SelectedValue is empty (and it also depends if user types when the list is opened or closed ).
[u]My Question:</u>
Please help : which event should i use to ask about the SelectedVaue so i can set values to the other comboboxs?

Thanks in advance.



Reply With Quote
  #2 (permalink)  
Old October 12th, 2004, 12:02 AM
Friend of Wrox
 
Join Date: Feb 2004
Location: Bangalore, Karnataka, India.
Posts: 177
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Use "SelectedIndexChanged" changed event. This can be useful when you need to display information in other controls based on the current selection in the ComboBox.

Go here for more information

http://msdn.microsoft.com/library/de...angedTopic.asp



It is not how much we do,
but how much love we put in the doing.

-Mother Theresa
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Filling Combobox with value from other Combobox ayazhoda Access VBA 6 June 5th, 2007 04:58 AM
Style wiegel BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 1 February 27th, 2007 09:28 PM
How to create a dropdown combobox in asp.net zach2004 VB.NET 2002/2003 Basics 1 September 12th, 2004 09:32 PM
difference between style.visibility and style.disp Mimi Javascript How-To 6 September 17th, 2003 11:50 PM



All times are GMT -4. The time now is 02:49 PM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.