Sign in Join
FPDoc Onlineexperiment

TToolButton.AssignTo procedure

Member of TToolButtonprotectedIn unit ComCtrls

Implements object persistence used to assign properties from the class instance to another persistent object.

Declaration

pascal
procedure AssignTo(Dest: TPersistent); override

Arguments

Dest

Persistent object where the property values are stored.

Description

AssignTo is an overridden method used to implement object persistence for the TToolButton class type. It allows properties in the class instance to be stored to the persistent object in Dest when it is a TCustomAction instance.

AssignTo calls the inherited method on entry to transfer common TCustomAction values to Dest. Additional properties in the tool button, like Down and ImageIndex, are handled as well.

See also

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