DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   VB.NET (http://www.daniweb.com/forums/forum58.html)
-   -   ComboBox.SelectedValueChanged Event keeps firing (http://www.daniweb.com/forums/thread157856.html)

bajanpoet Nov 17th, 2008 9:42 am
ComboBox.SelectedValueChanged Event keeps firing
 
How do I stop a combo box from firing the SelectedValueChanged event when the DataSource property is added?

dickersonka Nov 17th, 2008 10:36 am
Re: ComboBox.SelectedValueChanged Event keeps firing
 
you need to either register the event after databinding or set a boolean to check when finished loading


this might help
http://www.vbforums.com/showthread.php?t=207065

bajanpoet Nov 17th, 2008 4:19 pm
Re: ComboBox.SelectedValueChanged Event keeps firing
 
I went the boolean route... the other way seemed too complex for me.


All times are GMT -4. The time now is 1:38 pm.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC