Class TrPageControlEx
Unit
rImprovedComps
Declaration
type TrPageControlEx = class(TPageControl)
Description
enhanced TPageControl which provides colored tabs, hottrack fonts, color and border, close button in tabs, function for reading active tab caption and changing of active tab; OwnerDraw must be set to TRUE to use this functions
Hierarchy
- TPageControl
- TrPageControlEx
Overview
Methods
Properties
Description
Methods
|
procedure AddSpaceForCloseBtn(Center: Boolean = false); |
add spaces to all tabs to make place for close buttons
|
|
function SetActiveTabEx(Index: integer): Boolean; |
select defined tab including calling CanChange and OnChange event
|
|
function SetActivePageEx(TS: TTabSheet): Boolean; |
select defined page including calling CanChange and OnChange event
|
|
function ActiveTabCaption: string; |
return caption of active tab
|
|
function ActiveTabObject: TObject; |
return object of active tab
|
|
function VisiblePageCount: integer; |
return number of visible tabs
|
Properties
|
property ScaleRatio: double read FScaleRatio; |
define actual scale ratio relative to original designed size
|
|
property TabPropsEx: TTabPropsEx read FTabPropsEx write FTabPropsEx; |
subcomponent define all new tab properties
|
|
property TabRightButton: TrButton read FTabRightButton write FTabRightButton; |
subcomponent define additional button on right border
|
|
property TabRightButtonVisible: Boolean read FTabRightButtonVisible write SetTabRightButtonVisible default false; |
define visibility of additional button on right border
|
|
property TabRightLabel: TrHTMLLabel read FTabRightLabel write FTabRightLabel; |
subcomponent define additional label on right border
|
|
property TabRightLabelVisible: Boolean read FTabRightLabelVisible write SetTabRightLabelVisible default false; |
define visibility of additional label on right border
|
Generated by PasDoc 0.15.0.
|