JVCL Help:TJvTabBarItem.Closing

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 tab is currently being closed in the TabBar control.


Pascal

 propertyClosing: Boolean;


Description

Closing is a read-only Boolean property that indicates if the tab is currently being closed in the TabBar control. The value in Closing is derived by comparing the current tab to the value stored in the TJvTabBar.ClosingTab property in the TabBar for the collection item. When the collection items are the same, the value for the property is True.
Closing is used when rendering the tab using the TJvTabBarPainter.DrawTab method in the Painter assigned for the TabBar control. When Closing contains True, the display rectangle for the closing button tab is adjusted to simulate a pressed or down state.
Use the OnTabClosing event handler in the TabBar control to perform application-specific processing required when a tab is about to be closed.


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