Class TFireDockTitleBar
Unit
Declaration
type TFireDockTitleBar = class(TFireCustomStyledControl)
Description
Hierarchy
- TFireCustomStyledControl
- TFireDockTitleBar
Overview
Methods
function GetDefaultStyleLookupName: String; override; |
|
function GetDefaultSize: TSizeF; override; |
|
procedure ApplyStyle; override; |
|
function GetFont: TFont; |
|
function GetFontColor: TAlphaColor; |
|
function CheckSetFocus: Boolean; |
|
procedure UpdateButtons; |
|
function CalcTitleBarHeight: Single; |
|
class function GetButtonRect(TitleBar1: TFireDockTitleBar; const TitleAreaRect: TRectF; Role: TFireDockTitleBarButton.Role): TRectF; |
|
procedure MouseDown(Button: TMouseButton; Shift: TShiftState; X, Y: Single); override; |
|
procedure MouseMove(Shift: TShiftState; X, Y: Single); override; |
|
procedure MouseUp(Button: TMouseButton; Shift: TShiftState; X, Y: Single); override; |
|
procedure DblClick; override; |
|
procedure Paint; override; |
|
procedure DoPaint; override; |
|
procedure CloseClicked(Sender: TObject); |
|
procedure AutoHideClicked(Sender: TObject); |
|
procedure MenuClicked(Sender: TObject); |
|
constructor Create(Manager: TFireDockPanelManagerBase; AOwner: TComponent); reintroduce; |
|
destructor Destroy; override; |
|
procedure SetBounds(X, Y, AWidth, AHeight: Single); override; |
|
function GetTitle: String; |
|
procedure SetTitle(const Title: String); |
|
function IsTitleActive: Boolean; |
|
procedure SetTitleActive(Active: Boolean); |
|
procedure SetOrientation(orientation: TOrientation); |
|
function GetOrientation: TOrientation; |
|
function IsCloseButtonVisible: Boolean; |
|
procedure SetCloseButtonVisible(Visible: Boolean); |
|
function IsAutoHideButtonVisible: Boolean; |
|
function IsMenuButtonVisible: Boolean; |
|
procedure SetMenuButtonVisible(Visible: Boolean); |
|
procedure SetButtonMenu(Menu: TPopupMenu); |
|
procedure SetDockFeatures(Features: TFireDockPanelFeatures); |
|
procedure SetAutoHideButtonVisible(Visible: Boolean); |
|
procedure SetAutoHideButtonState(State: Boolean); |
Properties
property OnCloseClick: TNotifyEvent read FOnCloseClick write FOnCloseClick; |
|
property OnAutoHideClick: TNotifyEvent read FOnAutoHideClick write FOnAutoHideClick; |
|
property OnMenuClick: TNotifyEvent read FOnMenuClick write FOnMenuClick; |
Description
Methods
function GetDefaultStyleLookupName: String; override; |
|
function GetDefaultSize: TSizeF; override; |
|
procedure ApplyStyle; override; |
|
function GetFont: TFont; |
|
function GetFontColor: TAlphaColor; |
|
function CheckSetFocus: Boolean; |
|
procedure UpdateButtons; |
|
function CalcTitleBarHeight: Single; |
|
class function GetButtonRect(TitleBar1: TFireDockTitleBar; const TitleAreaRect: TRectF; Role: TFireDockTitleBarButton.Role): TRectF; |
|
procedure MouseDown(Button: TMouseButton; Shift: TShiftState; X, Y: Single); override; |
|
procedure MouseMove(Shift: TShiftState; X, Y: Single); override; |
|
procedure MouseUp(Button: TMouseButton; Shift: TShiftState; X, Y: Single); override; |
|
procedure DblClick; override; |
|
procedure Paint; override; |
|
procedure DoPaint; override; |
|
procedure CloseClicked(Sender: TObject); |
|
procedure AutoHideClicked(Sender: TObject); |
|
procedure MenuClicked(Sender: TObject); |
|
constructor Create(Manager: TFireDockPanelManagerBase; AOwner: TComponent); reintroduce; |
|
destructor Destroy; override; |
|
procedure SetBounds(X, Y, AWidth, AHeight: Single); override; |
|
function GetTitle: String; |
|
procedure SetTitle(const Title: String); |
|
function IsTitleActive: Boolean; |
|
procedure SetTitleActive(Active: Boolean); |
|
procedure SetOrientation(orientation: TOrientation); |
|
function GetOrientation: TOrientation; |
|
function IsCloseButtonVisible: Boolean; |
|
procedure SetCloseButtonVisible(Visible: Boolean); |
|
function IsAutoHideButtonVisible: Boolean; |
|
function IsMenuButtonVisible: Boolean; |
|
procedure SetMenuButtonVisible(Visible: Boolean); |
|
procedure SetButtonMenu(Menu: TPopupMenu); |
|
procedure SetDockFeatures(Features: TFireDockPanelFeatures); |
|
procedure SetAutoHideButtonVisible(Visible: Boolean); |
|
procedure SetAutoHideButtonState(State: Boolean); |
|
Properties
property OnCloseClick: TNotifyEvent read FOnCloseClick write FOnCloseClick; |
|
property OnAutoHideClick: TNotifyEvent read FOnAutoHideClick write FOnAutoHideClick; |
|
property OnMenuClick: TNotifyEvent read FOnMenuClick write FOnMenuClick; |
|
Generated by PasDoc 0.15.0.