Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Suite Pro
  New Posts New Posts RSS Feed - ShowOpen Dialog
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

ShowOpen Dialog

 Post Reply Post Reply
Author
Message
Ditte View Drop Down
Groupie
Groupie


Joined: 28 October 2007
Status: Offline
Points: 94
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ditte Quote  Post ReplyReply Direct Link To This Post Topic: ShowOpen Dialog
    Posted: 02 August 2012 at 9:02am
Hi,

I set the flags to xtpOFNAllowMultiselect.
I can also select more as one file in the dialog. But in the
returnvalue of the Filename is only one file.

Regards Ditte
Regards



Dittmar



Product: Xtreme SuitePro (ActiveX) 13.4.2

Platform: Win XP

Language: Visual Dataflex 16.1
Back to Top
Ditte View Drop Down
Groupie
Groupie


Joined: 28 October 2007
Status: Offline
Points: 94
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ditte Quote  Post ReplyReply Direct Link To This Post Posted: 03 August 2012 at 7:20am
using GetNextFileName
Regards



Dittmar



Product: Xtreme SuitePro (ActiveX) 13.4.2

Platform: Win XP

Language: Visual Dataflex 16.1
Back to Top
Arnoutdv View Drop Down
Groupie
Groupie


Joined: 29 September 2010
Status: Offline
Points: 38
Post Options Post Options   Thanks (0) Thanks(0)   Quote Arnoutdv Quote  Post ReplyReply Direct Link To This Post Posted: 09 March 2016 at 8:16am
Thanks!

Even in version 16 and up the documentation for xtpOFNAllowMultiSelect is incorrect.
Quote
Specifies that the File Name < name="Width" value="0">< name="Height" value="0">< name="Command" value=""> list box allows multiple selections. The user can select more than one file at < name="Width" value="0">< name="Height" value="0">< name="Command" value=""> run time by pressing the SHIFT key and using the UP ARROW and DOWN ARROW keys to select the desired files. When this is done, the FileName property returns a string containing the names of all selected files.  The names in the string are delimited by spaces.
Not! You have to use the .GetNextFileName method in a loop ...

VB6 SP6, SuitePro 16.3.0 / 18.2.0, Win10/64
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.172 seconds.