JVCL Help:TJvModernTabBarPainter.CloseRectColorDisabled

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 disabled tab that is closing.


Pascal

 propertyCloseRectColorDisabled: TColor;


Description

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


See Also

TJvTabBarItem.Closing, TJvCustomTabBar.OnChange, TJvModernTabBarPainter.CloseRectColor


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