JVCL Help:TJvItemsPanel.GetItemAt

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

Search in JVCL Help

 
Search in all projects
 

Summary

Returns the item at the specified position.


Pascal

 functionGetItemAt(X: Integer; Y: Integer): Integer;


Parameters

Parameters Description
X: Integer The X coordinate of the location.
Y: Integer The Y coordinate of the location.


Return Value

Returns the index of the item or -1 if no item was found at the specified location.


Description

Call GetItemAt to obtain the index for the item found at the position specified by the X and Y parameters. X and Y specify the coordinates of the position, in pixels, rel tive to the top left corner of the control. If there is no item at the location, GetItemAt returns -1.


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