JVCL Help:TJvModernTabBarPainter.CloseColorSelected

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 the selected tab when it is closing.


Pascal

 propertyCloseColorSelected: TColor;


Description

CloseColorSelected is a TColor property that indicates the color to use when drawing the selected tab when it 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.
CloseColorSelected is used in the protected DrawTab method to set the color when drawing the tab.
The default value for CloseColorSelected is $F4F4F4, as assigned in the constructor for the object instance. Changing the value in CloseColorSelected causes the OnChange event handler to be signaled, and the control is redrawn.
Use CloseColor to specify the color used to draw enabled but unselected tabs.
Use CloseRectColorDisabled to specify the color used to draw a disabled tab that 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.CloseColor, 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