Gambas-it

Gambas3 => Programmazione => Topic aperto da: vuott - 22 Dicembre 2013, 23:40:52

Titolo: Come limitare l'accesso ad una directory usando FileChooser
Inserito da: vuott - 22 Dicembre 2013, 23:40:52
Riporto questa discussione apparsa nella M.L. ufficiale:


" I'm using the open file dialog to allow the user to select one file. I
want to limit his access to only one directory to limit the damage he
can do. I've set the dialog.path = "/home/xxx/xx". The specified
directory is highlighted but the entire directory tree from root down is
also accessible. Files in each directory above and below the intended
directory can be opened. The filechooser allows for such a limit. Do I
have to recode using the filechooser or have I missed something?

Marty
"


" Set
Codice: gambas [Seleziona]
ReadOnly = True

(damage eliminated), or write an own file chooser.
Need to add a 'TreeView' and some 'Button'.

Kende KrisztiƔn
"