TBrowse() > Event handling |
Tests if a TBrowse is hit by the mouse cursor.
:hitTest( <nMouseRow>, <nMouseCol> ) --> nHitCode
Method :hitTest() accepts the numeric row and column position of the mouse cursor and returns a numeric value indicating whether or not the mouse cursor is located within the TBrowse object. #define constants are available in the BUTTON.CH file identifying the return value of :hitTest().
Return values of oTBrowse:hitTest()
Constant | Value | Description |
---|---|---|
HTNOWHERE | 0 | Mouse cursor is outside the browse display |
HTCELL | -5121 | Mouse cursor is inside a data cell |
HTHEADING | -5122 | Mouse cursor is inside a column heading |
http://www.xHarbour.com