[Gambas-user] Access only to the user's folder

Benoît Minisini gambas at ...1...
Wed Aug 4 13:59:18 CEST 2010


> -----Mensaje original-----
> De: Benoît Minisini <gambas at ...1...>
> Reply-to: mailing list for gambas users
> <gambas-user at lists.sourceforge.net>
> Para: mailing list for gambas users <gambas-user at lists.sourceforge.net>
> Asunto: Re: [Gambas-user] Access only to the user's folder
> Fecha: Tue, 3 Aug 2010 00:22:18 +0200
> 
> > Hi.
> > 
> > I want the user to select the Dialog.SelectDirectory () only could
> > choose or create folders within the folder /home.
> > 
> > It can be done with Dialog.Path = User.home, but this does not stop so
> > you can select the root directory /
> > 
> > Regards
> >
> >You have to implement your own file dialog with a FileChooser and a
> >DirChooser.
> >
> >The DirChooser has a Root property that constraints the choice to a
> >directory and its subdirectories.
> >
> >Regards,
> 
> Hi.
> 
> If I choose to FileChooser or DirChooser, these show me the folder icons to
> the theme of Gnome. By using Dialog.SelectDirectory, this shows me the
> folder icons to the theme that the user has selected. Is there any way to
> emulate this behavior in them?.
> 
> Regards
> 

Do you have screenshots to show me what you are talking about? Beware that a 
mailing-list post is limited to 256K.

Regards,

-- 
Benoît Minisini




More information about the User mailing list