Unit 'Buttons' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#lcl]

TCustomBitBtn

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Declaration

Source position: buttons.pp line 163

type TCustomBitBtn = class(TCustomButton)

protected

  FButtonGlyph: TButtonGlyph;

  

  class procedure WSRegisterClass; override;

  

  procedure ActionChange(); override;

  

  procedure GlyphChanged();

  

  procedure InitializeWnd; override;

  

  function IsCaptionStored;

  

  procedure Loaded; override;

  

  procedure Notification(); override;

  

  procedure TextChanged; override;

  

  class function GetControlClassDefaultSize; override;

  

  procedure CMAppShowBtnGlyphChanged(); message;

  

public

  constructor Create(); override;

  

  destructor Destroy; override;

  

  procedure Click; override;

  

  procedure LoadGlyphFromResourceName();

  

  procedure LoadGlyphFromTyphonResource();

  

  procedure LoadGlyphFromStock();

  

  procedure LoadGlyphFromResource();

  

  function CanShowGlyph();

  

  property Caption: TCaption; [s]

  

  property DefaultCaption: Boolean; [rw]

  

  property DisabledImageIndex: TImageIndex; [rw]

  

  property Glyph: TBitmap; [rws]

  

  property NumGlyphs: Integer; [rw]

  

  property HotImageIndex: TImageIndex; [rw]

  

  property Images: TCustomImageList; [rw]

  

  property ImageIndex: TImageIndex; [rw]

  

  property ImageWidth: Integer; [rw]

  

  property Kind: TBitBtnKind; [rw]

  

  property Layout: TButtonLayout; [rw]

  

  property Margin: Integer; [rw]

  

  property PressedImageIndex: TImageIndex; [rw]

  

  property Spacing: Integer; [rw]

  

  property GlyphShowMode: TGlyphShowMode; [rw]

  

end;

Inheritance

TCustomBitBtn

  

|

TCustomButton

  

The base class for a push button control.

|

TButtonControl

  

Specifies a base class for button controls.

|

TWinControl

  

Implements a windowed control which can contain other child controls.

|

TControl

  

The base class for visible controls.

|

TLCLComponent

  

|

TObject



CT Web help

CodeTyphon Studio