Dokumentaro de Gambaso
Compilation & Installation from source code
Components
gb
gb.crypt
gb.qt4
Documents
Indekso de Lingvo
Language Overviews
LeguMin
Lexicon
Registro

FileChooser.ReadOnly (gb.form)

Property ReadOnly As Boolean

Returns or sets if the FileChooser is read-only.

Use a read-only filechooser when you want to select a file that must exist.

Consider this property to be a switch that makes the FileChooser act like Dialog.OpenFile() instead of Dialog.SaveFile()

By default a FileChooser acts like Dialog.SaveFile() in the way that if you double click a file you will get a warning that the file already exists.

For loading files that already exist like you were using Dialog.OpenFile() you must set ReadOnly = True

This will however disable being able to type text in the lower TextBox of the FileChooser