User Tools

Site Tools


gethitcolumnandrowfrompoint.htm
Navigation:  Clarion.Net (Clarion#) > Clarion# Language Extensions > Clarion# List Control >====== GetHitColumnAndRowFromPoint ====== Previous pageReturn to chapter overviewNext page

GetHitColumnAndRowFromPoint(Point p, out hitTest, out rowIndex, out columnIndex)

blk2blue.jpg

GetHitColumnAndRowFromPoint sets the values for the 3 “out” items:

hitTest

Returns ListHitTestType, which is an ENUM type that has the following values:

None

Header

Resize

Data

Total

TreeNode

The type returned is based on what part of the LIST control was touched by the mouse.

rowIndex ' an INT data type that returns the index of the row the mouse is over

colIndex - an INT data type that returns the index of the col the mouse is over

If hitTest returns ListHitTestType.None , GetHitColumnAndRowFromPoint will return FALSE.

gethitcolumnandrowfrompoint.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1