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 / Windows Forms / WinForm General / July 2004

Tip: Looking for answers? Try searching our database.

ComboBox: difference between SelectedIndexChanged and SelectionChangeComitted events

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jo Vermeulen - 26 Jul 2004 12:24 GMT
Hello,

I was wondering what is the difference between the selectedIndexChanged
and the selectionChangeComitted events of ComboBoxes.

Thanks in advance,

Signature

Jo Vermeulen
Student Computer Science at the LUC

Andy Becker - 26 Jul 2004 14:53 GMT
> Hello,
>
> I was wondering what is the difference between the selectedIndexChanged
> and the selectionChangeComitted events of ComboBoxes.

I'm pretty sure SelectionChangeCommitted is only raised by UI occurances,
i.e. actually using the ComboBox and moving the highlight.
SelectedIndexChanged is raised a whole lot, including databinding, any time
the SelectedIndex property is changed by either the UI or code.

Best Regards,

Andy
Stoitcho Goutsev \(100\) [C# MVP] - 26 Jul 2004 16:28 GMT
Anyways, it doesn't work correctly with .NET 1.0 and 1.1. I don't know if
they fixed it for 2.0

See that thread for some of the issues with that event

http://groups.google.ca/groups?hl=en&lr=&ie=UTF-8&threadm=%23PacwaHCEHA.3748%40T
K2MSFTNGP11.phx.gbl&rnum=1&prev=/groups%3Fq%3DStoitcho%2BSelectionChangeCommitte
d%2B%2Bgroup:microsoft.public.dotnet.*%26hl%3Den%26lr%3D%26ie%3DUTF-8%26group%3D
microsoft.public.dotnet.*%26selm%3D%2523PacwaHCEHA.3748%2540TK2MSFTNGP11.phx.gbl
%26rnum%3D1


Signature

Stoitcho Goutsev (100) [C# MVP]

> > Hello,
> >
[quoted text clipped - 9 lines]
>
> Andy
Andy Becker - 26 Jul 2004 20:02 GMT
> Anyways, it doesn't work correctly with .NET 1.0 and 1.1. I don't know if
> they fixed it for 2.0
>
> See that thread for some of the issues with that event

http://groups.google.ca/groups?hl=en&lr=&ie=UTF-8&threadm=%23PacwaHCEHA.3748%40T
K2MSFTNGP11.phx.gbl&rnum=1&prev=/groups%3Fq%3DStoitcho%2BSelectionChangeCommitte
d%2B%2Bgroup:microsoft.public.dotnet.*%26hl%3Den%26lr%3D%26ie%3DUTF-8%26group%3D
microsoft.public.dotnet.*%26selm%3D%2523PacwaHCEHA.3748%2540TK2MSFTNGP11.phx.gbl
%26rnum%3D1


I had been trying to nail down those strange behaviors for quite a while, as
I'm a heavy keyboard user (way more efficient at times).  And you just led
me right to them.

Thanks!

Best Regards,

Andy

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.