Groups | Blog | Home
all groups > vb.net controls > july 2007 >

vb.net controls : comboBox Events question


jay
7/20/2007 3:51:19 PM
OK, whats the best event to trap in this situation:

1. dataBound controls to strongly typed dataset
2. comboBox on a Tab Control
3. Populate values on another Tab Page based on the selection from step 2.

If I select a value from the comboBox and try to populate those values to
another Tab Page, I don't see the changes until I repeatedly select the
comboBox and tab out of it. What if the user simply changes a value and
doesn't move out of the control?

The SelectedIndexChanged event fires when the form opens, and other events I
have tried only fire when the user tabs out of the control. There must be
an easy way to handle this simple situation?
Should I be doing a refresh or something?

Thanks for your assistance

Jan Hyde (VB MVP)
8/1/2007 5:02:28 PM
"jay" <jjay@hotmail.com>'s wild thoughts were released on
Fri, 20 Jul 2007 15:51:19 -0600 bearing the following fruit:

[quoted text, click to view]
You can use a flag to indicate the form is loading and check
this in the selectedIndexChanged event.


--
Jan Hyde

AddThis Social Bookmark Button