Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select multiple files
Message
 
To
04/07/2001 04:29:55
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00526491
Message ID:
00526605
Views:
16
In addition to Cetin's fine suggestions, you could also use the Microsoft Common Dialog control to display a standard dialog which will return multi-selected files.

Cheers,

Andrew

>>I have a running VFP6 app which allows the user to select a file using GETFILE. Now my customer wants to be able to select multiple files using shift or control - the normal windows multiple file select. Does anyone have a recommendation? Can GETFILE be configured to allow multiple selects? Is there another choice?
>>Thanks in advance for any help.
>
>Graham,
>If they're on same dir you could just use a listbox with rowsourcetype files and multiselect .t.
>If not you could use GetFile() in a loop till it returns an empty string and add each selected to a grid, listbox to show.
>You could use a treeview with checkboxes, populate it with files as well as dirs (for fast building check UT magazine 1st issue).
>You could gather dirs+files to a cursor and use a multiselect control (listbox or MultiselectGrid class).
>You could directly invoke windows explorer and use OLEDragDrop (check sample in solution.app\What's new\Fun with OLEdd).
>Cetin


If we were to introduce Visual FoxBase+, would we be able to work from the dotNet Prompt?


From Top 22 Developer Responses to defects in Software
2. "It’s not a bug, it’s a feature."
1. "I thought I fixed that."


All my FoxTalk and other articles are available on my web site.


Unless specifically identified otherwise, anthing posted here is purely my opinion and may or may not reflect the policies or practices of Microsoft.
Previous
Reply
Map
View

Click here to load this message in the networking platform