JVCL Help:TJvTabBarItem.Enabled

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

Search in JVCL Help

 
Search in all projects
 

Summary

Indicates the state used when drawing the tab in the tab bar control.


Pascal

 propertyEnabled: Boolean;


Description

Enabled is a Boolean property that indicates the font, colors, and drawing style use when the tab is drawn in the tabbed-control bar.
Enabled is used when drawing TJvTabBarItem instances on the tabbed-bar control using a TJvTabBarPainter instance. Enabled ultimately determines the fonts and colors used to draw the dividers, close rectangles, close buttons, images, and captions appearing on tabs in the control.
Changing the value in the Enabled property cause the TJvTabBarItem and the TJvTabBar control to be redrawn. The default value for Enabled is True, as assigned in the constructor for the collection item.
Use the OnGetEnabled event handler to implement custom application logic that derives the value for the Enabled property.
Use Visible to determine if a tab can be displayed (has not been hidden).


See Also

TJvTabBarPainter, TJvModernTabBarPainter, TJvTabBar, TJvTabBarItem.Visible, TJvTabBarItem.OnGetEnabled


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