JVCL Help:TJvModernTabBarPainter.CloseCrossColorSelected

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

Search in JVCL Help

 
Search in all projects
 

Summary

Color for the close symbol on the selected tab in a tabbed-bar control.


Pascal

 propertyCloseCrossColorSelected: TColor;


Description

CloseCrossColorSelected is a TColor property that indicates the color used to draw the symbol on the close button for a tab that has its' Selected property set to True.
CloseCrossColorSelected is used in the protected DrawTab method to set the pen color when drawing the symbol on the close button.
The default value for CloseCrossColorSelected is clBlack, as assigned in the constructor for the object instance. Changing the value in CloseCrossColorSelected causes the OnChange event handler to be signaled, and the control is redrawn.
Use CloseCrossColor to specify the color for the close symbol on unselected tabs.
Use ModifiedCrossColor to specify the color for the close symbol on a tab that has been modified.
Use CloseCrossColorDisabled to specify the color for the close symbol on disabled tabs.
Use CloseColor or CloseColorSelected to specify the color used to draw a tab that is closing.
Use CloseRectColor or CloseRectColorDisabled to specify the color used for the mouse focus rectangle on a tab in the relevant state.


See Also

TJvCustomTabBar.OnChange, TJvTabBarItem.Modified, TJvModernTabBarPainter.ModifiedCrossColor, TJvModernTabBarPainter.CloseCrossColor, TJvModernTabBarPainter.CloseCrossColorSelected, TJvModernTabBarPainter.CloseCrossColorDisabled, TJvModernTabBarPainter.CloseColor, 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