[Gambas-user] Guestion about DirBox.Dialog.SelectDirectory
T Lee Davidson
t.lee.davidson at gmail.com
Fri Mar 2 22:55:22 CET 2018
I don't see that capability in DirBox either.
You probably already know this, but any mounted device should be accessible through the root directory. For example, on my
system, a CD-ROM disk is mounted at:
/run/media/[user]/
DirChooser has a Root property, as does DirView. Maybe you could set that with something like:
DirChooser1.Root = "/run/media/" & User.Name
I know, not much help.
Ah, good catch Gianluigi. I missed the Value property on DirBox. Maybe you could set that as suggested.
--
Lee
On 03/02/2018 02:12 PM, Shannon Kuchler wrote:
> In DirBox.Dialog.SelectDirectory I can't find a way to change the current device so that I have access to other mounted drives.
>
> I know I have to be over looking something here. Maybe this is the wrong control for the task I need. Looking through the
> components I can't find anything that looks like it will work.
>
>
> Did I miss something in this control? Is there a component I missed? Therefore I'm trying to use the wrong control?
>
>
> What I need to do is allow the user to select and or create a directory on any mounted hard drive
>
More information about the User
mailing list