Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: Directory ListBox1 MultiDevice


This question is answered.


Permlink Replies: 2 - Last Post: Aug 18, 2017 7:30 AM Last Post By: Andrew McIsaac
Andrew McIsaac

Posts: 93
Registered: 3/12/13
Directory ListBox1 MultiDevice  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Aug 17, 2017 3:40 PM
Good afternoon,

Target - MultiDevice - Windows , C++ Builder

I thought this one be easy, but I am missing something.

In VCL - there was an easy way to catch Directories
DirectoryListBox1 based on a DriveComboBox.

With the MultiDevice environment, these do not exist - is there a way to capture Directories with the OpenDialog1 without having to select a file ?

Thanks in advance.

Andrew
Remy Lebeau (Te...


Posts: 9,447
Registered: 12/23/01
Re: Directory ListBox1 MultiDevice
Correct
Click to report abuse...   Click to reply to this thread Reply
  Posted: Aug 17, 2017 3:54 PM   in response to: Andrew McIsaac in response to: Andrew McIsaac
Andrew McIsaac wrote:

In VCL - there was an easy way to catch Directories
DirectoryListBox1 based on a DriveComboBox.

Those are old Windows 3.1 style components and should not be used in
modern apps when possible.

is there a way to capture Directories with the OpenDialog1 without
having to select a file ?

No. TOpenDialog is meant for files only. You can use the VCL's
TFileOpenDialog with the fdoPickFolders flag enabled to select folders
instead of files, but that is VCL only. There is no equivilent in FMX.

--
Remy Lebeau (TeamB)
Andrew McIsaac

Posts: 93
Registered: 3/12/13
Re: Directory ListBox1 MultiDevice  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Aug 18, 2017 7:30 AM   in response to: Andrew McIsaac in response to: Andrew McIsaac
Thank you.
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02