General information
Category:
Forms & Form designer
Garrett,
The big problem with putting controls in a container is that tab order of the controls is affected in an undesirable way (i.e., I couldn't see any way to have controls in the container and ones outside it interleave their tab order).
Otherwise, it's an ideal solution.
What I have is sets of controls that are "paired up," (dropdown/textbox/checkbox), and I want to be able to do things in the code of one that can affect its corresponding other controls -- both within its type (e.g., to enforce uniqueness of a value in a dropdown selection) and across types (i.e., to auto-fill the value of a textbox when its corresponding drop-down changes its value).
With a set of arrays of each of the paired types, I can do this by getting a handle on the index of one control to affect the paired-up controls, and iterate across the index to affect other controls of that type.
AND, I can interleave the tab order of the controls so that all paired-up controls are sequentially ordered.
-- jas
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only