Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Selecting in a combobox
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01346494
Message ID:
01346495
Vues:
12
This message has been marked as the solution to the initial question of the thread.
>I may have asked this before and forgotten. Is there a way to cause a combobox selection to default to the first item in the list when the form starts up? My rowsource is an sql statement and I would like the first item to be selected by default.
>
>Thanks

You can use something like thisform.myCombobox.ListIndex = 1
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform