|
Hierarchy |
|
| acCaptionButton
|
| type
|
| TacCustomCaptionButton = class(TacHFormHookComponent)
|
| protected
|
| procedure MessageAfter(var Message: TMessage); override;
|
| procedure FormRecreate; override;
|
|
|
| procedure BeforeButtonClick; virtual;
|
| procedure ButtonClick; virtual; // button clicked
|
| procedure BeforeMenuClick; virtual;
|
| procedure MenuClick; virtual; // menu item selected
|
| procedure Click; virtual; // anyway button or mouse
|
| procedure Pressed; virtual; // button pressed (menu item checked)
|
| procedure Released; virtual; // button released (menu item unchecked)
|
| procedure Loaded; override;
|
| public
|
| constructor Create(aOwner: TComponent); override;
|
| destructor Destroy; override;
|
|
|
| // public methods
|
| procedure RefreshWindow;
|
| procedure RefreshButton;
|
|
|
| // public properties
|
| property AllowPress: Boolean;
|
| property BtnOrder: TacBtnOrder;
|
| property CaptionButton: TacACaptionButton; // for successors
|
| property Cursor: TCursor;
|
| property CursorDown: TCursor;
|
| property Down: Boolean;
|
| property Enabled: Boolean;
|
| property Glyph: TBitmap;
|
| property GlyphDown: TBitmap;
|
| property GlyphTransparent: Boolean;
|
| property Hint: String;
|
| property PopupMenu: TPopupMenu;
|
| property SeparatorWidth: Byte;
|
| property ShowHint: Boolean;
|
| property SignFont: TFont;
|
| property SignLeft: Integer;
|
| property SignTop: Integer;
|
| property Sign: Char;
|
| property SystemMenu: TacSystemMenu;
|
| property Visible: Boolean;
|
|
|
| // public events
|
| property OnClick: TNotifyEvent;
|
| property OnPressed: TNotifyEvent;
|
| property OnReleased: TNotifyEvent;
|
| end;
|
| The TacCustomCaptionButton is the base class for all components that able to have an additional caption button on the form's title bar. Components like acCaptionButton, acAppAutoRun, acFormTopmost, acFormRoller, acFormHelp, acTrayIcon.
|
|
|
| All public properties, methods and events which presented by TacCustomCaptionButton can be used at run-time by all its successors.
|
| acCaptionButton, acAppAutoRun, acFormTopmost, acFormRoller, acFormHelp and acTrayIcon components.
|