JVCL Help:TJvCustomPreviewControl.ItemAtPos

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 page at the specified position.


Pascal

 functionItemAtPos(Pos: TPoint; Existing: Boolean): Integer;


Parameters

Parameters Description
Pos: TPoint The position of the page in client coordinates.
Existing: Boolean Set to true to only return existing pages. Set to false to return the index of the page that should have been at Pos if the preview contained that many pages


Return Value

The index of the page or -1 if not found.


Description

Use ItemAtPos to find the page that is located on a specific position.


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