JVCL Help:TJvTabBarItem.CanSelect

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

Search in JVCL Help

 
Search in all projects
 

Summary

Indicates if the tab can become the selected tab in the tabbed-bar control.


Pascal

 functionCanSelect: Boolean;


Return Value

Boolean - True if the tab is visible and enabled in the tabbed-bar control.


Description

CanSelect is a Boolean function used to determine if the collection item can become the selected tab in the TabBar control. The return value for the function is derived by examining the Visible and Selected properties for the tab. When both properties contain True, the tab can become the selected tab in the TabBar control.
CanSelect is used when the selected tab on the TabBar control has changed, and a new tab needs to be drawn using the appropriate font, color, image, and close button. This occurs when the TabBar control calls its' private FindSelectableTab method or when assigning a new value to its' SelectedTab property.


See Also

TJvCustomTabBar.SelectedTab, TJvTabBarItem.Enabled, TJvTabBarItem.Visible, TJvTabBarItem.TabBar


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