TdxOpenPictureDialog Class
An “Open” dialog component for image files.
Declaration
TdxOpenPictureDialog = class(
TdxOpenFileDialog
)
Remarks
This component displays the Open dialog for image files 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 Open dialog. This dialog allows a user to select and open image files. When a user clicks the Open button, selected file names are saved to the component’s Files and FileName properties and the dialog is closed.
The Open dialog can display a preview of the last selected image file at the right border. You can use the component’s OptionsPreview property to customize the dialog’s preview settings.
The TdxfrmOpenFileDialog class defines the default Open 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 TdxOpenPictureDialog
class members allow you to do the following:
Invoke the Open dialog (Execute).
Specify filter masks for image files (Filter and FilterIndex).
Customize preview settings (OptionsPreview).
Identify image files selected in the dialog (Files and FileName).
Set the dialog’s initial directory (InitialDir).
Specify the Open 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
.