if your listbox is databound, the index will change on filling a dataset...
the best thing to do in that case is to set a flag when its filling so you
can check that flag in the selected index changed event to see if the index
is changing while its filling or not to prevent execution of the event while
that is happening
"rodchar" <ro*****@discussions.microsoft.com> wrote in message
news:4C**********************************@microsof t.com...
Hey all,
I noticed that the listbox event "SelectedIndex_Changed" runs on form load
by default. Is there a way to by pass this until you actually have data in
it
and are ready for selected index change event in your code or am I missing
the point?
thanks in advance,
rodchar