JVCL Help:TJvTabBarItem.Modified

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

Search in JVCL Help

 
Search in all projects
 

Summary

Indicates how the close button is drawing on a tab in the tab bar control.


Pascal

 propertyModified: Boolean;


Description

Modified is a Boolean property that indicates if the content associated with the tab has been altered.
Modified ultimately determines the color used when rendering the close button for the tab using a TJvTabBarPainter instance. When Modified contains True, the color from the ModifiedCrossColor property in TJvTabBarPainter is used. When Modified contains False, one of the values from CloseCrossColorSelected, CloseCrossColor, or CloseCrossColorDisabled are used to draw the close button for the tab control.
Changing the value in Modified causes the TJvTabBarItem and the TJvTabBar to be redrawn.
The default value for Modified is False, as assigned in the constructor for the collection item.
Use the OnGetModified event handler to implement custom application logic that derives the value for the Modified property. This can include examining entries in the PageList or controls embedded on the associated page.
Use Visible to determine if a tab can be displayed (has not been hidden).


See Also

TJvTabBarPainter, TJvModernTabBarPainter, TJvTabBar, TJvTabBarItem.Visible, TJvTabBarItem.Enabled, TJvTabBarItem.OnGetModified, TJvCustomTabBar.PageList


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