Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Listbox from GetDir()
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00567836
Message ID:
00567912
Views:
22
Try this:

- create a form with a listbox object
- give the listbox object the following properties:
RowSource = "\"
RowSourceType = 7

The listbox should give you the folders in the 'foldername' folder with the first few lines for selecting the drive. To go up a folder click on the '[..]' and click on the folder name to go down the tree.

HTH,
Arriyel

>Hi All,
>
>Is there a way to get a listbox to display the directory structure like the one on the GetDir() dialog form so I can allow a user to select a path? I have a form where there are a few options of saving a report, some of which allow the user to save it as a file and I want to give them the capability to select the path and enter a file name but not have to switch to the GetDir() form.
>
>Thanks...
>
>Keith
Speak using soft and sweet words in case you have to eat them later.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform