Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Control Arrays -- how to make 'em
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00096935
Message ID:
00097667
Vues:
33
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
Fil
Voir

Click here to load this message in the networking platform