Class LM_View
Version added: before 9.5
The LM_View class is the basis for most of the user interface classes available to Moho scripts. It represents a rectangular area in the user interface where some kind of interaction takes place.
Methods of LM_View:
| Name | Returns | Description | Ver |
| Enable Enable(enable) | void | Enables or disables a view object | < 9.5 |
| Height Height() | int32 | Returns the height of the widget | 11.0 |
| IsEnabled IsEnabled() | bool | Tells whether the view is currently enabled | < 9.5 |
| IsMouseDragging IsMouseDragging(button) | bool | Verifies if dragging mouse button matches the given argument | 11.0 |
| SetCursor SetCursor(cursor) | void | Change the cursor | < 9.5 |
| SetToolTip SetToolTip(tooltip) | void | Sets the tooltip text for a user interface control | 12.0 |
| Width Width() | int32 | Returns the height of the widget | 11.0 |