Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sync two ComboBoxes
Message
De
20/06/2001 07:44:57
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00520355
Message ID:
00521346
Vues:
16
David,

Each dropdown listbox has its own array... Could I use the same array for both and have a column 1 display in one and have column 2 display in the other and the third column my pk and both bound to the third column??? Waddauthink??

Thanks



>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform