SaveDialog

Declaration: SaveDialog(InitialDir, Filter, Caption: string): string;
Opens the Windows file save dialog. The parameter InitialDir controls the directory which is initially displayed. Assigning an empty string to this parameter forces the open dialog to show the working directory of Epina ImageLab. The Filter parameter is sort of a wildcard filter to narrow down the visible files (for example, assigning '*.txt' only shows text files, or '*.*' shows all available files). The function returns the file specification (including the full path) of the specified file, or an empty string if the file save dialog has been cancelled. The Caption parameter determines the text in the title bar of the dialog.