Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Compact Framework / January 2006

Tip: Looking for answers? Try searching our database.

Getting the user selection from a ComboBox

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Tsviatko Yovtchev - 19 Jan 2006 16:51 GMT
How to do it? The SelectedIndexChanged event i useless because the user
might just be moving the selection in the dropped down listbox using the
navigation buttons without actually selecting anything.

In the .NET framework there is the SelectionChangeCommitted event but
apparently it has been removed from the CF. What is the mechanism to
replace it?
tamberg - 19 Jan 2006 19:48 GMT
Given a ComboBox c you could e.g. access c.Items[c.SelectedIndex] or
c.SelectedItem in a handler added to c.LostFocus or if the parent Form
is closed.
Tsviatko Yovtchev - 20 Jan 2006 13:23 GMT
> Given a ComboBox c you could e.g. access c.Items[c.SelectedIndex] or
> c.SelectedItem in a handler added to c.LostFocus or if the parent Form
> is closed.

But the Combobox does not lose focus when the user performs a selection.
tamberg - 20 Jan 2006 15:46 GMT
There might be no mechanism replacing exactly what you get by using
SelectionChangeCommitted.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.