ImageEn, unit iesettings

TIEImageEnGlobalSettings.UseWindowsOpenSaveDialogs

TIEImageEnGlobalSettings.UseWindowsOpenSaveDialogs


Declaration


property UseWindowsOpenSaveDialogs: Boolean;


Description


Whether ImageEn's open and save dialogs are used for ImageEn methods.
If this is set to false, the standard Windows dialogs will be used.

It affects these methods:
- TImageEnIO.ExecuteOpenDialog
- TImageEnIO.ExecuteSaveDialog
- TImageEnMIO.ExecuteOpenDialog
- TImageEnMIO.ExecuteSaveDialog
- TImageEnMIO.DoSavePreviewDialog
- TIEImageLayer.ExecuteOpenDialog

And these Actions:
- TImageEnViewPromptToOpen</A>
-
TImageEnViewPromptToSave</A>
-
TImageEnViewLayersPromptToOpen</A>
-
TImageEnViewLayersPromptToSave</A>
-
TIEImageLayerExecuteOpenDialog</A>
-
TImageEnMViewPromptToOpen</A>
-
TImageEnMViewPromptToSave</A>

Default: False

Note: You can also undefine IEINCLUDEOPENSAVEDIALOGS in ie.inc


Example


sFilename := ImageEnView1.IO.ExecuteOpenDialog;
if sFilename <> '' then
  ImageEnView1.IO.LoadFromFile(sFileName);
IEGlobalSettings().UseWindowsOpenSaveDialogs := False;