Information générale
Catégorie:
Gestionnaire d'écran & Écrans
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
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement