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.

OffsetTop property

Project: Message Dialogue Components.

Unit: PJMessageDialog.

Class: TPJVCLMsgDlg

Applies to: ~>3.0

property OffsetTop: Integer;

Description

The effect of OffsetTop is determined by the value of the Align property as follows:

Align property value Effect of OffsetTop
mdaScreenOffset Sets vertical offset of dialogue box from top of screen.
mdaScreenCentre No effect: property is ignored.
mdaFormOffset Sets vertical offset of dialogue box from top of owning form.
mdaFormCentre No effect: property is ignored.

OffsetTop is used in conjunction with OffsetLeft.

The default value of the property is 0.