[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 1721

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

TControl.RealGetText

  

Returns the Caption property.

TControl.RealSetText

  

Sets the value for the Caption property.

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