Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select multiple files
Message
From
04/07/2001 04:29:55
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
03/07/2001 17:28:37
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00526491
Message ID:
00526600
Views:
18
>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
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform