Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Stupid Newbie ComboBox Question
Message
De
31/12/2007 14:06:21
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01278633
Message ID:
01278693
Vues:
22
>>Haven't had to create one from scratch in awhile. How do I force the initial display value of the ComboBox? It's based on a SQL and displays a field value. I want to choose which record is the default and then have that show up when the form is run. Thanks!
>
>You may try thisform.myCombo.ListIndex = 1 in the Init method of the form.
>
>You may also first select the needed record and then thisform.myCombo.value = thisform.myCombo.value

That worked, but why? I set that as the default on the property form? Seems like that should have been enough.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform