xHarbour Reference Documentation > Function Reference |
Moves the browse cursor to the mouse pointer.
TBMouse( <oTBrowse>, <nMouseRow>, <nMouseCol> ) --> nHandled
The function returns 0 when the browse cursor was successfully moved to the screen coordinates passed for the mouse pointer. Otherwise, the return value is 1.
TBMouse() is a utiliy function for implementing "mouse awareness" for TBrowse objects. When the mouse pointer is located within the data area of a TBrowse object, the function calls navigation methods of the object until the browse cursor is located underneath the screen coordinates specified with <nMouseRow> and <nMouseCol>.
A call to TBMouse() is standard behavior for TBrowse():applyKey().
See also: | MCol(), MRow(), TBrowse() |
Category: | Mouse functions , xHarbour extensions |
Source: | rtl\tbrowse.prg |
LIB: | xhb.lib |
DLL: | xhbdll.dll |
http://www.xHarbour.com