vcl-cximage-dot-tcxcustomimage-fec33dee.md
Displays the Open dialog.
procedure LoadFromFile;
Call the LoadFromFile procedure to display the Open dialog that allows users to load a supported image file.
You can use the Properties.CustomFilter property to configure the dialog’s file filter.
A user can click the Load… item in the editor context menu to open the Image Editor dialog:
The Load… context menu item is visible only if the pmiLoad flag is present in the Properties.PopupMenuLayout.MenuItems property.
Inherit a form class from TdxfrmOpenFileDialog and assign a reference to the created class to the OpenFileDialogFormClass global variable to replace the built-in Open dialog form with a custom implementation.
See Also
TcxCustomImage.SaveToFile Procedure
TcxCustomImage.ShowImageEditor Procedure
TcxCustomImageProperties.PopupMenuLayout Property