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

TCustomBitBtn.DefaultCaption

Indicates if Caption contains the default value for the button Kind.

Declaration

Source position: buttons.pp line 208

public property TCustomBitBtn.DefaultCaption : Boolean
  read FDefaultCaption
  write SetDefaultCaption
  default False;

Description

Changing the property value to True causes a resource string with the caption text for the button ID to be assigned to the Caption property when Kind is not bkCustom.

See also

TCustomBitBtn.Caption

  

Contains the descriptive text displayed for the Bitmap button control.

TCustomBitBtn.Kind

  

What kind of BitButton? Custom, OK, Cancel, Yes, No etc.

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