J
Jeff Haumesser
Here's one!
I have a Tab Control that consists of 4 Tab Pages. These pages will be
removed and added as needed as the user checks and unchecks certain
checkboxes.
On the Form_Load event, I am calling routines that populate the various
ComboBoxes List's that are contained by these Tab Pages. When these Combo
Boxes are populated, I initialize the text property with a 'String.Empty'.
At this point, the Tab Pages have not been added to the Tab Control.
Now, when the user adds a Tab Page to the Tab Control, such as :
tabStaff.TabPages.Add(tbSystemUser)
the text property is automatically being set the the first item in the list.
This is what I DON'T want to happen.
My Qutestions are: Why or How are these properties being set and How can I
prevent it?
Any ideas would be greatly appreciated,
Jeff
I have a Tab Control that consists of 4 Tab Pages. These pages will be
removed and added as needed as the user checks and unchecks certain
checkboxes.
On the Form_Load event, I am calling routines that populate the various
ComboBoxes List's that are contained by these Tab Pages. When these Combo
Boxes are populated, I initialize the text property with a 'String.Empty'.
At this point, the Tab Pages have not been added to the Tab Control.
Now, when the user adds a Tab Page to the Tab Control, such as :
tabStaff.TabPages.Add(tbSystemUser)
the text property is automatically being set the the first item in the list.
This is what I DON'T want to happen.
My Qutestions are: Why or How are these properties being set and How can I
prevent it?
Any ideas would be greatly appreciated,
Jeff