I am new to Visual Basic and I am trying to figure how to cycle through dynamic objects. What I have is a form that is basically in three sections. The top section is a group of buttons the user can select (only one at a time). The middle section is a groupbox divided into two sections, the left side will display dynamic objects based on which button was selected by the user from the buttons at the top of the form, and the right side will display static objects that will either be enabled or disabled depending on the button chosen above. The bottom part of the form is just various information to the user along with a couple options. I want to know how to access the dynamic controls that are displayed on the left side of the groupbox for error checking and then update information. Well I want to access both sides of the groupbox, the dynamic and static controls for the same reasons. I am setting up a module to do the error checking and then another module for updating. What is the best way to do that and how do I do it? I did figure out how to define my own object/user control and put controls into it (for each of the buttons in the above part of the form). Each user control will contain labels, radio buttons, checkboxes, etc. How do I reference each of the controls in the groupbox? The dynamic controls will be inside a defined user control which in turn is displayed in the groupbox on the form. Should I resize the groupbox and only make it on the right side and not insert dynamic controls in it? Any help would be appreciated. I hope I explained it well enough.
↧