Sign in Join
FPDoc Onlineexperiment

TCustomBitBtn.GlyphChanged procedure

Member of TCustomBitBtnprotectedIn unit Buttons

Performs actions needed when the value in Glyph has been changed.

Declaration

pascal
procedure GlyphChanged(Sender: TObject)

Arguments

Sender

TObject instance for the change notification.

Description

Ensures that the widget set class is notified of a change in the value for the Glyph property. Calls InvalidatePreferredSize and AdjustSize to resize the control for the new Glyph image.

Assigned to the OnChange event handler in the TButtonGlyph instance for the control, and called directly from the ImageListChange method.

See also

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