JVCL Help:TJvTabBar.OnTabClosing

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

Search in JVCL Help

 
Search in all projects
 

Summary

Event handler signaled when a tab on the control is about to be closed.


Pascal

 propertyOnTabClosing: TJvTabBarClosingEvent;


Parameters

Parameters Description
Sender Control for the event.
Item Tab for the event.
AllowClose Indicates the item can continue closing.


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