JVCL Help:TJvModernTabBarPainter.CloseRectColor

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 focus rectangle for a tab that is closing.


Pascal

 propertyCloseRectColor: TColor;


Description

CloseRectColor is a TColor property that specifies the color used to draw the focus rectangle for 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.
CloseRectColor is used in the protected DrawTab method to set the color when drawing the tab.
The default value for CloseRectColor is $868686, as assigned in the constructor for the object instance. Changing the value in CloseRectColor causes the OnChange event handler to be signaled, and the control is redrawn.
Use CloseRectColorDisabled to specify the focus rectangle color for disabled tabs.


See Also

TJvTabBarItem.Closing, TJvCustomTabBar.OnChange, 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