[Gambas-user] close the FileDialog with a DBClick on a file
Benoît Minisini
g4mba5 at gmail.com
Thu Dec 16 22:26:12 CET 2021
Le 16/12/2021 à 21:28, Charlie Reinl a écrit :
> Am Montag, dem 13.12.2021 um 19:32 -0500 schrieb T Lee Davidson:
>> At any rate, it can be prevented by setting the FileChooser's
>> property ReadOnly=True.
>
> Salut,
>
> still puzzling over what this is good for, that I get this message when
> I DbClick a file displayed in FileChooser.
> "This file already exists." What else ?
> Waiting for enlightenment, don't get it.
>
By default the FileChooser allows the user to choose a file for writing
it, hence the message on double-click.
You have to set the ReadOnly property to TRUE to let the FileChooser
choose a file for reading only. You won't get the message anymore on
double-click.
Regards,
--
Benoît Minisini
More information about the User
mailing list