ImageEn, unit ieSettings

TIEGlobalSettings.SystemDialogCentering

TIEGlobalSettings.SystemDialogCentering

Declaration

property SystemDialogCentering: TIEDialogCentering;

Description

Specifies the positioning of Windows system dialogs that are displayed by ImageEn.

This applies to IEAVISelectCodec, CreateAVIFile (when no codec is specified), ConnectToUsingDialog, ShowAcquireDialog (when the system dialog is used), ShowPropertyPages, IEPromptForColor (full palette, when a position is not specified), IEPromptForFont (when a position is not specified), Print (when the print dialog is shown), the rich edit print action and the "Printer Setup" dialog of the print preview dialogs.

Open, save and folder dialogs are not affected. They use DialogCentering and DialogCentering (default iecScreenCenter). Twain dialogs use TwainDialogCentering.
Value Description
iecDefaultPosition Windows default position (usually the top-left of the calling form)
iecOwnerFormCenter Dialog is centered over the calling form (using a Windows hook)
iecScreenCenter Dialog is centered on the screen (using a Windows hook)

Default: iecOwnerFormCenter

Example

// Show system dialogs at their default position
IEGlobalSettings().SystemDialogCentering := iecDefaultPosition;

See Also

◼IEAVISelectCodec
◼TIECommonDialog.DialogCentering
◼TIEOpenFolderDialog.DialogCentering
◼TwainDialogCentering