HbRadioGroup() > Methods |
Tests if a radio group 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 HbRadioGroup object. #define constants are available in the BUTTON.CH file identifying the return value of :hitTest().
Return values of oHbRadioGroup:hitTest()
Constant | Value | Description |
---|---|---|
> 0 | Ordinal position of radio button hit by the mouse cursor | |
HTNOWHERE | 0 | Mouse cursor is outside the radio group |
HTTOPLEFT | -1 | Mouse cursor is on the top left corner of the radio group |
HTTOP | -2 | Mouse cursor is on the top border of the radio group |
HTTOPRIGHT | -3 | Mouse cursor is on the top right corner of the radio group |
HTRIGHT | -4 | Mouse cursor is on the right border of the radio group |
HTBOTTOMRIGHT | -5 | Mouse cursor is on the bottom right corner of the radio group |
HTBOTTOM | -6 | Mouse cursor is on the bottom border of the radio group |
HTBOTTOMLEFT | -7 | Mouse cursor is on the bottom left corner of the radio group |
HTLEFT | -8 | Mouse cursor is on left border of the radio group |
HTCAPTION | -1025 | Mouse cursor is on the radio group's caption |
http://www.xHarbour.com