Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combobox dialog
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00230074
Message ID:
00230119
Views:
21
>>>>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."
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform