Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sync two ComboBoxes
Message
 
 
À
17/06/2001 09:04:32
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00520355
Message ID:
00520370
Vues:
19
John,

If both controls are bound to the same ControlSource then you can simply call the Refresh() of the other control from each one.

>I have two comboboxes both set up as Style = 2 (Dropdown Listbox).
>Both are based on an array that has two columns and the second
>column on both is the bound to column. The second column contains
>the pk. The first column contains the company id on the first combo
>and the company name is in the second combo. So when I select either
>a company id or a company name the other combo will display the
>proper info.
>
>For the life of me I can't remember what to put in the interactivechange
>to keep the two combo's in sync.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform