I too think there was a problem with the code :-)
I now initialise all controls before using them (resetting the items and selecteditems for the control boxes) and now the values selected in the controls persist when I tab across pages. I didn't have to use any variables to store them.
Thanks...
[RESOLVED] Best way to connect?
I'm using OleDb to connect to an Access Database. I have several controls on my form, and most of the controls are populated based on the values chosen by the user in the previous controls.
Now, is it a good idea to store the connection information as global...
I am loading some of the controls during the form's load event, but most of the other controls are populated based on the selected items in the initial controls. I am storing the selected index values globally now, and I'm loading the values into the controls every time a user tabs. The user...
[Resolved] Persistence of values in Tabs
Hi,
I have a TabControl with 3 tab pages on it. I'm querying an Access database to populate control fields (like ComboBoxes and Listboxes) on the first tab. My problem is that if I make selections on the first tab, click on either of the other tabs and...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.