Class LM_Button

Parent classes: LM_BaseWidget < LM_View

Version added: before 9.5
The LM_Button class represents a basic push button, like the OK and Cancel buttons in a dialog box. To create a new button, use the LM.GUI.Button or LM.GUI.ImageButton methods.

Methods of LM_Button:

Name Returns Description Ver
SetAlternateMessage void This message will get sent if the user holds down the alt key while clicking the button. (Added in version 10) 10
SetContinuousMessages void Added in version 10 10
SetImage void Added in version 10 10
SetLabel void Sets button's label 10
SetToolTip void Added in version 10 10
SetValue void < 9.5
Value bool < 9.5

Methods inherited from LM_BaseWidget:

Name Returns Description Ver
Redraw void Call this function to force the widget to redraw itself < 9.5

Methods inherited from LM_View:

Name Returns Description Ver
Enable void Enables or disables a view object < 9.5
Height int32 Added in version 11 11
IsEnabled bool Tells whether the view is currently enabled < 9.5
IsMouseDragging bool Added in version 11 11
SetCursor void Change the cursor < 9.5
SetToolTip void Added in version 12 12
Width int32 Added in version 11 11