Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combobox dialog
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00230074
Message ID:
00230119
Vues:
22
>>>>Is there an easy way to populate a combo box with the contents of a directory? So then whatever file the user clicks on will be captured to a var for future reference?
>>>
>>>Timothy,
>>>
>>>Set the rowsourcetype to Files and read the value property to see what the user seleted.
>>Right., thanks
>>Also can I have it so that only '.dat' files show up?
>
>Timothy,
>
>Put the mask in the rowsource property as *.Dat

One last quest if I may impose, the file is on another drive but the path name is not saved in "thisform.combo2.value", but just the file name itself. This causes a problem because now the program thinks it's in the curdir() :(
"Build a man a fire, and he's warm for a day.
Set a man on fire, and he's warm for the rest of his life."
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform