Sign in Join
FPDoc Onlineexperiment

TDialogButtons.Add function

Member of TDialogButtonspublicIn unit InterfaceBase

Adds a new button instance to the Items in the collection.

Declaration

pascal
function Add: TDialogButton

Function result

TDialogButton instance created and stored in the Items for the collection.

Description

Add is an overridden TDialogButton function in TDialogButtons used to add a new button instance to the Items in the collection. Add ensures that the value returned from the inherited Add method is cast to the TDialogButton type used in Items.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.