JVCL Help:TJvModernTabBarPainter.CloseColor

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Color used to draw a tab that is closing.


Pascal

 propertyCloseColor: TColor;


Description

CloseColor is a TColor property that indicates the color to use when drawing a tab that is in the process of closing. A tab is marked as Closing in the TJvTabBarItem.Closing property, and causes the focus rectangle and tab color to be drawn using the values that reflect the tab state.
CloseColor is used in the protected DrawTab method to set the color when drawing the tab.
The default value for CloseColor is clWhite, as assigned in the constructor for the object instance. Changing the value in CloseColor causes the OnChange event handler to be signaled, and the control is redrawn.
Use CloseRectColorDisabled to specify the color used to draw a disabled tab that is closing.
Use CloseColorSelected to specify the color used to draw the selected tab when it is closing.
Use CloseRectColor or CloseRectColorDisabled to specify the color for the mouse focus rectangle for tabs in the relevant state.


See Also

TJvCustomTabBar.OnChange, TJvTabBarItem.Closing, TJvModernTabBarPainter.CloseRectColorDisabled, TJvModernTabBarPainter.CloseColorSelected, TJvModernTabBarPainter.CloseRectColor, TJvModernTabBarPainter.CloseRectColorDisabled


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