JVCL Help:TJvCustomTabBar.FindData

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

Search in JVCL Help

 
Search in all projects
 

Summary

Locates a tab in the control with the specified data object.


Pascal

 functionFindData(Data: TObject): TJvTabBarItem;


Parameters

Parameters Description
Data: TObject Data object to locate in the Tabs collection.


Return Value

Tab item with the specified data object, or nil.


Description

FindData is a TJvTabBarItem function used to locate the tab with the data object specified in Data in the defined Tabs for the control.
FindData performs a sequential search of the TJvTabBarItem instances in Tabs to locate the item with the specified object instance. When a match is found, the return value is the tab definition from the Tabs collection. If a match is not found, the return value for the method is Nil.
Use FindTab to locate the item in Tabs with a specific caption.


See Also

TJvCustomTabBar.FindTab, TJvCustomTabBar.Tabs, TJvTabBarItem.Data, TJvTabBarItems


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