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

TControl.Caption

The text describing the control to the user.

Declaration

Source position: controls.pp line 1646

public property TControl.Caption : TCaption
  read GetText
  write SetText
  stored IsCaptionStored;

Description

By default, the Caption is the same as the control's Name in the Object Inspector, and the developer must set it explicitly to some different text.

See also

#lcl.Controls.TControl.RealGetText

  

Returns the Caption property.

#lcl.Controls.TControl.RealSetText

  

Sets the Caption property.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.