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

# TCustomBitBtn.Caption

Contains the descriptive text displayed for the Bitmap button control.

## Declaration

Source position: buttons.pp line 216

`public property TCustomBitBtn.Caption : TCaption stored IsCaptionStored;`

## Description

Caption is a public TCaption property which contains the descriptive text displayed for the Bitmap button control. Assign a value to Caption when the Kind property is set to bkCustom. When Kind contains one of the other TBitBtnKind enumeration values, the Caption is normally set using the GetCaptionOfKind method.

Use DefaultCaption to determine if the value in Caption is the default one for the control.

## See also

TCustomBitBtn.DefaultCaption |  | Indicates if Caption contains the default value for the button Kind.
TCustomBitBtn.Kind |  | Specifies the button kind including the default bitmap and caption for the button control.
TBitBtnKind |  | TBitBtnKind - enumerated type of possible kinds of BitButtons.
TControl.Caption |  | The text displayed for the control.