TcxDialogsMetricsStore.DefaultPosition Property
Specifies the dialog’s default position.
Declaration
property DefaultPosition: TPosition read; write; default poMainFormCenter;
Property Value
Type | Default |
---|---|
TPosition | poMainFormCenter |
Remarks
The specified position is used for the dialog that doesn’t have stored dialog settings.
The default value of the DefaultPosition property is poMainFormCenter.
The following example demonstrates how to specify that the default position of the dialog is the center of the screen:
// ...
uses
// ...
cxClasses;
initialization
cxDialogsMetricsStore.DefaultPosition := poDesktopCenter;
See Also