[Gambas-user] Obtaining desired file extension

martin cristia tercoide at hotmail.com
Tue Feb 9 02:21:42 CET 2021


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????




More information about the User mailing list