JVCL Help:TJvCustomInspector.YToIdx

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

Search in JVCL Help

 
Search in all projects
 

Summary

Calculates the item index of a given Y offset.


Pascal

 functionYToIdx(constY: Integer): Integer; virtual;


Parameters

Parameters Description
const Y: Integer Y-position to retrieve the item index of.


Description

YToIdx will determine the index of the item for the given Y-position if the items would be rendered in a single band. If no item is at the given position, -1 will be returned.


See Also

TJvCustomInspector.IdxToY


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