JVCL Help:TJvModernTabBarPainter
JVCL Help: TJvModernTabBarPainter Class
Search in JVCL Help
Search in all projectsClass Hierarchy
TJvTabBarPainter
TJvModernTabBarPainter
run\JvTabBar.pas
Summary
Implements the Modern drawing style for rendering tabs on a tabbed-bar control.
Pascal
run\JvTabBar.pas
TJvModernTabBarPainter = class(TJvTabBarPainter);
Description
- JVCLInfo
TJvModernTabBarPainter is a TJvTabBarPainter descendant that implements a component used to measure and render tabs defined in a TJvCustomTabBar control.
TJvModernTabBarPainter implements a specific drawing style that features separate fonts and colors for Selected and Disabled tabs on a TJvCustomTabBar control. This includes drawing close buttons on tabs using different colors for modified versus unmodified tabs. The drawing style is defined using the properties introduced in the renderer, including:
The Create constructor allocates the resources required for properties in the class instance, and sets the default property values for the Modern drawing style.
TJvModernTabBarPainter implements abstract virtual methods declared in the ancestor class, including:
DrawBackground |
DrawTab |
DrawDivider |
DrawMoveDivider |
GetDividerWidth |
GetTabSize |
GetCloseRect |
Options |
Assign a TJvModernTabBarPainter instance to the Painter property in TJvCustomTabBar to use the Modern drawing style when rendering tabs.
See Also
TJvTabBarPainter, TJvCustomTabBar.Painter
About
Contribute to this help topic
This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page