Equinox Online Help - Language Reference - A to Z
MouseObject |
|
---|---|
Applies to | |
Syntax | MouseObject NameItem, IterationItem |
Action | [Statement] Returns the object currently under the mouse cursor and its iteration. |
Scope | Only usable in form methods. |
Notes | This returns the object name of the object currently under the mouse cursor in NameItem. If the mouse cursor is not over any object, a null string is returned. The object's iteration number is stored in IterationItem. The system workarea SysError is set to a non-zero value if an error occurs, otherwise zero. |
Category | Menus and mouse |
See Also | EnableCommand, MouseObjectName, MousePosition, Trigger |
Example | The following example method (attached to a Not Busy event) detects which screen item the cursor is over and displays suitable help text in another window if the cursor is not in the repeat block. MouseObject objname, iteration |