[Gambas-user] Obtaining desired file extension
Bruce Steers
bsteers4 at gmail.com
Tue Feb 9 06:32:57 CET 2021
On Tue, 9 Feb 2021 at 01:58, martin cristia <tercoide at hotmail.com> wrote:
> In the Dialog.SaveFile() user is asked for a filename, given a few
> extension options, i.e:
>
> Dialog.Filter = ["*.dxf", "DXF Drawing exchange 2010", "*.dwg", "DWG
> AutoCAD Drawing file 2010"]
> If Dialog.SaveFile() Then Return ' cancel saving
> f = Dialog.Path
>
> then user types "my saved file" , sets extension in ComboBox, but
> Dialog.Path comes without it; and AFAIK there is no way to get that , or
> I'm not seeing it????
>
gb.form.dialog and the AutoExt property
http://gambaswiki.org/wiki/comp/gb.form.dialog/dialog
BruceS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20210209/8a53422d/attachment-0001.htm>
More information about the User
mailing list