TdxSaveFileDialog Class
A “Save As” dialog component.
Declaration
TdxSaveFileDialog = class(
TSaveDialog,
IdxSkinSupport
)
Remarks
This component displays the Save As dialog and supports look & feel settings common to all DevExpress VCL controls. These settings allow you to keep the application’s appearance consistent for all UI elements, including shell dialogs.
You can call the component’s Execute method to invoke the Save As dialog. This dialog allows a user to select and save files. When a user clicks the Save button, the selected file name is saved to the component’s FileName property and the dialog is closed.
The Save As dialog can display a preview of the selected file at the right border. You can use the component’s OptionsPreview property to customize the dialog’s preview settings.
The TdxfrmSaveFileDialog class defines the default Save As dialog form. Refer to the class description for information on available UI elements and how to replace the default dialog form with a custom implementation.
The TdxSaveFileDialog
class members allow you to do the following:
Invoke the Save As dialog (Execute).
Specify filter masks for files (Filter and FilterIndex).
Customize preview settings (OptionsPreview).
Identify a file selected in the dialog (FileName).
Set the directory that the dialog initially displays (InitialDir).
Specify the Save As dialog’s appearance and behavior settings (Options, OptionsEx, and LookAndFeel).
Note
All DevExpress controls with built-in Windows shell navigation functionality (such as Spreadsheet and Rich Edit controls) use skinnable shell dialogs. If you prefer standard system dialogs, set the dxUseStandardShellDialogs global constant to True
.