Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > General .NET
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old October 11th, 2004, 04:01 PM
Registered User
Join Date: Oct 2004
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default combobox dropdown style.

[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
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.

Old October 12th, 2004, 12:02 AM
Friend of Wrox
Join Date: Feb 2004
Posts: 177
Thanks: 0
Thanked 0 Times in 0 Posts

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


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

-Mother Theresa

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

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