[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'InterfaceBase' (#lcl)

TDialogButtons.Add

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

Declaration

Source position: interfacebase.pp line 111

public function TDialogButtons.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

TCollection.Add


Version 4.0 Generated 2025-05-03 Home