Welcome to the new DelphiDabbler Code Library Documentation.

This is a new site that's currently running on alpha code. There are going to be bugs. If you discover any, please report them on the site's issues page (GitHub account required). Thanks.

Warning: Many URLs are going to change. Refer to the README file to discover which library project's documentation has been completed.

CentreDlg property

Project: About Box Component

Unit: PJAbout.

Class: TPJAboutBoxDlg

Applies to: ~>3.6

property CentreDlg: Boolean;


This property determines whether the About dialog box appears centred or not.

When CentreDlg is set to True then the dialog box is centred over the screen, the desktop work area or the owner control, according to the value of the Position property. The DlgLeft and DlgTop properties are ignored in this case. The position of the dialog box may be adjusted to ensure it can all be seen.

When CentreDlg is set to False the DlgLeft and DlgTop properties determine the position of the dialog box.

The default value is True.