Forum Discussion

prognase's avatar
prognase
Occasional Contributor
9 years ago
Solved

Control file save dialog, different Windows versions

Hi all,   I am having a problem to DelphiScript a series of exports. Windows 8.1 and Windows 10 seem to use different file type entries in the "save as" dialogs of the OS: one shows the description...
  • AlexKaras's avatar
    9 years ago

    Hi Matthias,

     

    FileType is an optional parameter of the SaveFile method and usually the file is saved with the correct extension as long as you provide it in the file name. So, any problems if you leave the FileType parameter with the default -1 value (or omit it at all as I did in my projects)?