Class TTabPropsEx
Unit
rImprovedComps
Declaration
type TTabPropsEx = class(TComponent)
Description
subcomponent defines all props and events for TrTabControlEx and TrPageControlEx
Hierarchy
Overview
Methods
Properties
Description
Methods
 |
function CloseBtnShown(TabIndex: integer): Boolean; |
return whether close button is shown for defined tab
|
 |
function CloseBtnRect(TabIndex: integer): TRect; |
return rectangle of close button for defined tab
|
 |
procedure CheckMouseClick(Button: TMouseButton; Shift: TShiftState; X, Y: integer); |
check whether click of mouse is on close button
|
 |
procedure CheckMouseMove(Shift: TShiftState; X, Y: integer); |
check whether mouse is over close button
|
Properties
 |
property HotTabIndex: integer read FHotTabIndex; |
define index of hot tab
|
 |
property HotBtnIndex: integer read FHotBtnIndex; |
define index of hot button
|
 |
property DrawThemed: Boolean read FDrawThemed write SetDrawThemed default true; |
define whether themes is used for tabs
|
 |
property WordWrap: Boolean read FWordWrap write SetWordWrap default false; |
define whether long tab text is wrapped
|
 |
property TabColor: TColor read FTabColor write SetTabColor default clNone; |
define background color of tab
|
 |
property SelectedTabColor: TColor read FSelectedTabColor write SetSelectedTabColor default clNone; |
define background color of selected tab
|
 |
property HotTabColor: TColor read FHotTabColor write SetHotTabColor default clNone; |
define background color of hot tab
|
 |
property ParentFont: Boolean read FParentFont write SetParentFont default true; |
define whether parent font is used
|
 |
property TabFont: TFont read FTabFont write SetTabFont stored IsFontStored; |
define font of tab
|
 |
property SelectedTabFont: TFont read FSelectedTabFont write SetSelectedTabFont stored IsFontStored; |
define font of selected tab
|
 |
property HotTabFont: TFont read FHotTabFont write SetHotTabFont stored IsFontStored; |
define font of hot tab
|
 |
property SelectedBorderColor: TColor read FSelectedBorderColor write SetSelectedBorderColor default $000080FF; |
define border color of selected tab
|
 |
property HotBorderColor: TColor read FHotBorderColor write SetHotBorderColor default $000080FF; |
define border color of hot tab
|
 |
property ShowCloseBtn: Boolean read FShowCloseBtn write SetShowCloseBtn default false; |
define whether close button is shown
|
 |
property CloseBtnSize: integer read FCloseBtnSize write SetCloseBtnSize default 16; |
define size of close button in tab
|
 |
property CloseBtn: TPicture read FCloseBtn write SetCloseBtn; |
define close button picture
|
 |
property HotCloseBtn: TPicture read FHotCloseBtn write SetHotCloseBtn; |
define close button picture in hot state
|
 |
property OnTabGetProps: TTabGetPropsEvent read FOnTabGetProps write FOnTabGetProps; |
event for user defined state of tab
|
 |
property OnTabClose: TTabCloseEvent read FOnTabClose write FOnTabClose; |
event called after close button click
|
 |
property OnTabGetPopupMenu: TTabGetPopupMenu read FOnTabGetPopupMenu write FOnTabGetPopupMenu; |
event used for definition of tab popup
|
 |
property OnDrawTabBackground: TTabDrawTabEvent read FOnDrawTabBackground write FOnDrawTabBackground; |
event for user drawing of tab background
|
 |
property OnDrawTabContent: TTabDrawTabEvent read FOnDrawTabContent write FOnDrawTabContent; |
event for user drawing of tab content
|
 |
property OnDrawTabCloseBtn: TTabDrawTabEvent read FOnDrawTabCloseBtn write FOnDrawTabCloseBtn; |
event for user drawing of tab close button
|
 |
property OnDrawTabFinalize: TTabDrawTabEvent read FOnDrawTabFinalize write FOnDrawTabFinalize; |
event for any additional user drawing after tab is drawn
|
Generated by PasDoc 0.15.0.
|