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

TCustomBitBtn.Kind

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

Declaration

Source position: buttons.pp line 225

public property TCustomBitBtn.Kind : TBitBtnKind
  read FKind
  write SetKind
  default bkCustom;

Description

Kind is a TBitBtnKind property which identifies the intended usage for the button control. The enumeration value indicates the default values used in the Glyph and Caption for the control. The default value for the property is bkCustom, and causes values in Glyph (or the image in ImageIndex) and Caption to be displayed on the button surface.

Changing the property value causes other values in the class instance to be updated. When Kind has a value other than bkCustom, the default Glyph is retrieved and stored using the GetDefaultBitBtnGlyph, ThemeServices, or resources from BitBtnImages and BitBtnResNames. Values in Caption, ModalResult, Default, Cancel and DefaultCaption are updated as needed for the new value in Kind.

See also

TBitBtnKind

  

TBitBtnKind - enumerated type of possible kinds of BitButtons.


Version 4.0 Generated 2025-05-03 Home