Equinox Online Help - Language Reference - A to Z
MouseObjectName |
|
---|---|
Applies to | |
Syntax | MouseObjectName |
Action | [Function] Returns the object currently under the mouse cursor. |
Scope | Only usable in form methods. |
Notes | This returns the object name of the object currently under the mouse cursor. If the mouse cursor is not over any object, a null string is returned.
system workarea SysError is set to a non-zero value if an error occurs, otherwise zero. |
Category | Menus and mouse |
See Also | EnableCommand, MouseObject, 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. Switch (MouseObjectName)case "Picture"end switchStatusLine "Use the menu bar To assign a picture"case "SaveButton"StatusLine "Press this To save the record" |