ImageEn, unit ieOpenSaveDlg

TIECommonDialog.DialogCentering

TIECommonDialog.DialogCentering

Declaration

property DialogCentering: TIEDialogCentering;

Description

Specifies the position of this open or save dialog.
Value Description
iecDefaultPosition Windows default position (usually the top-left of the calling form)
iecOwnerFormCenter Dialog is centered over the calling form
iecScreenCenter Dialog is centered on the screen

Default: iecScreenCenter

Note: This property is independent of SystemDialogCentering, which positions other Windows dialogs (AVI, WIA, color, font, print).

Example

// Leave the open dialog at the Windows position
OpenImageEnDialog1.DialogCentering := iecDefaultPosition;

See Also

◼SystemDialogCentering
◼TIEOpenFolderDialog.DialogCentering