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

craf prog at ...2177...
Tue Aug 3 01:03:12 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







More information about the User mailing list