JVCL Help:TJvCustomTabBar.OnTabClosing
JVCL Help: TJvCustomTabBar.OnTabClosing Event
Search in JVCL Help
Search in all projectsSummary
Event handler signaled when a tab on the control is about to be closed.
Pascal
TJvTabBarClosingEvent = procedure (Sender: TObject; Item: TJvTabBarItem; var AllowClose: Boolean) ofobject;
propertyOnTabClosing: TJvTabBarClosingEvent;
Parameters
Parameters | Description |
AllowClose | Indicates the item can continue closing. |
Item | Tab for the event. |
Sender | Control for the event. |
Description
OnTabClosing is a TJvTabBarClosingEvent property that represents the event handler signaled when the Item in the Tabs collection is about to be closed.
OnTabClosing is normally triggered when CloseButton contains True and a mouse click occurs on the close button for the tab specified in Item. Applications can assign a procedure to the event handler to determine if Item can continue closing. Set the value in AllowClose to False to prevent the item in the Tabs collection from being closed and assigned to the ClosingTab property.
Use OnTabClosed to implement an event handler triggered after ClosingTab has been assigned and the control has been redrawn.
See Also
TJvTabBarClosingEvent, TJvCustomTabBar.CloseButton, TJvCustomTabBar.Tabs, TJvCustomTabBar.ClosingTab, TJvCustomTabBar.OnTabClosed
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