JVCL Help:TJvTabBar.OnTabSelecting

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 before a tab becomes the selected tab.


Pascal

 propertyOnTabSelecting: TJvTabBarSelectingEvent;


Parameters

Parameters Description
Sender Control generating the event.
Item Tab for the event.
AllowSelect Indicates the tab can become the selected tab.


Description

OnTabSelecting is a TJvTabBarSelectingEvent property that represents the event handler signaled before a tab becomes the selected tab on the control. OnTabSelecting is triggered during processing that occurs when a new value has been assigned for the SelectedTab property as a result of a mouse click event or through assignment in code. OnTabSelecting can be used to perform application-specific processing required to determine if the tab in Item can become the selected tab in the control. Set AllowSelect to False to indicate that the tab cannot be used as the SelectedTab value. Applications must assign a procedure for the event handler to allow responding to the notification. Use OnTabSelected to perform processing required after a new value has determined and assigned for the SelectedTab property.


See Also

TJvTabBarSelectingEvent, TJvCustomTabBar.SelectedTab, TJvCustomTabBar.OnTabSelected


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