R
Robert A. Boudra
As a newcomer to .Net I'm continually frustrated with the subtle and not so
subtle changes that have been made since VB 6.0 that don't seem to server
any real purpose other than to frustrate people like me. In any case, I'm
trying to do something as simple as take an action when the user selects an
item from a combo box. I've tried using the SelectedIndexChange event, but
that fires several times while the list is being populated etc. before the
form is even visible. The work around that I came up with is to set a
boolean flag when the user first clicks the control so that the desired
action in the SelectedIndexChange event is only taken after the control has
been clicked by the user. This seems like an ugly solution to me. Is there
a better way?
Bob
subtle changes that have been made since VB 6.0 that don't seem to server
any real purpose other than to frustrate people like me. In any case, I'm
trying to do something as simple as take an action when the user selects an
item from a combo box. I've tried using the SelectedIndexChange event, but
that fires several times while the list is being populated etc. before the
form is even visible. The work around that I came up with is to set a
boolean flag when the user first clicks the control so that the desired
action in the SelectedIndexChange event is only taken after the control has
been clicked by the user. This seems like an ugly solution to me. Is there
a better way?
Bob