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

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

  

Specifies the button kind including the default bitmap and caption for the button control.


Version 4.0 Generated 2025-05-03 Home