Sign in Join
FPDoc Onlineexperiment

TTaskDialogButtons.Add function

Member of TTaskDialogButtonspublicIn unit Dialogs

Adds a new collection item using the ItemClass for the collection.

Declaration

pascal
function Add: TTaskDialogBaseButtonItem

Function result

Collection item created in the method.

Description

Calls the inherited Add method to create the new collection item, and casts the return value to the TTaskDialogBaseButtonItem type used as the ItemClass. The inherited method uses the Collection as the Owner for the new collection item.

See also

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