Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Stupid Newbie ComboBox Question
Message
De
31/12/2007 12:23:01
 
 
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:
01278648
Vues:
20
>>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

I believe you can still create it as you normally do. Then use the object browser to scoop the code you need. (I was wrong once before, so you might want to check this out)
I ain't skeert of nuttin eh?
Yikes! What was that?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform