HbRadioButton() > Methods |
Tests if a radio button 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 HbRadioButton object. #define constants are available in the BUTTON.CH file identifying the return value of :hitTest().
Return values of oHbRadioButton:hitTest()
Constant | Value | Description |
---|---|---|
HTNOWHERE | 0 | Mouse cursor is outside the radio button and its caption |
HTCAPTION | -1025 | Mouse cursor is inside the radio button's caption |
HTCLIENT | -2049 | Mouse cursor is inside the radio button |
http://www.xHarbour.com