JVCL Help:TJvTabBar.Painter
JVCL Help: TJvTabBar.Painter Property
Search in JVCL Help
Search in all projectsSummary
Measures and renders tabs defined for the control.
Pascal
propertyPainter: TJvTabBarPainter;
Description
Painter is a TJvTabBarPainter property that represents the rendering mechanism used to measure and draw the tabbed-bar control and the items defined in the Tabs collection. Nearly all of the procedures and functions in TJvTabBarPainter are declared as abstract virtual methods. Applications do not create instances of TJvTabBarPainter; use a descendant class like TJvModernTabBarPainter which implements the abstract virtual methods as well as additional properties required for the specific rendering style. Each TJvTabBarPainter descendant implements a specific drawing style and may include properties for the fonts and colors for Selected and Disabled tabs on the control. Its' capabilities include 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. Assign a TJvTabBarPainter instance to the Painter property to use the measuring and rendering capabilities specific to the class. Changing the value in Painter causes an assigned Painter to be removed before storing the new Painter value and redrawing the control. The class instance in Painter will be notified when changes are made to items in the Images property for the control.
See Also
TJvTabBarPainter, TJvModernTabBarPainter, TJvCustomTabBar.Images, TJvCustomTabBar.Tabs
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