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.

ButtonKind property

Project: About Box Component

Unit: PJAbout.

Class: TPJAboutBoxDlg

Applies to: ~>3.6

property ButtonKind: TPJAboutBtnKinds;

type TPJAboutBtnKinds = (
  abkOK, abkDone, abkClose, abkCancel
);

Description

The About box contains one button which is used to close the dialog box. The button can display different text to indicate its use. The ButtonKind property is used to determine which text to display. Valid values for the property and their meanings are as follows:

Value Text
abkOK OK
abkDone Done
abkClose Close
abkCancel Cancel

The default value is abkOK.

The button captions are stored as string resources and can be translated.