JVCL Help:TJvCustomTabBar.TabAt

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

Search in JVCL Help

 
Search in all projects
 

Summary

Locates the tab affected by mouse movement and drag-and-drop operations.


Pascal

 functionTabAt(X: Integer; Y: Integer): TJvTabBarItem;


Parameters

Parameters Description
X: Integer Coordinates for the mouse pointer.
Y: Integer Coordinates for the mouse pointer.


Return Value

TJvTabBarItem - Tab item affected by the operation.


Description

TabAt is a TJvTabBarItem function used to find the tab affected by mouse move and drag-and-drop operations in the tabbed-bar control.
TabAt uses the mouse coordinates provided in the X and Y parameters to determine which tab item in the Tabs property lies under the specified point. The return value is the TJvTabBarItem instance having a display rectangle that contains the mouse pointer, or Nil if no tab item can be found in Tabs.
TabAt is used in the implementation of MouseMove, MouseUp, and MouseDown actions as well as DragOver and DragDrop operations.


See Also

TJvCustomTabBar.Tabs, TJvTabBarItem.DisplayRect


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