Class LM_Button
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 SetAlternateMessage(alternateMsg)
|
void |
This message will get sent if the user holds down the alt key while clicking the button. (Added in version 10) |
10.0 |
SetContinuousMessages SetContinuousMessages(intervalSecs)
|
void |
Added in version 10 |
10.0 |
SetImage SetImage(img, desiredImageWidth, desiredImageHeight, redraw)
|
void |
Added in version 10 |
10.0 |
SetLabel SetLabel(label, adjustSize)
|
void |
Sets button's label |
10.0 |
SetToolTip SetToolTip(tooltip)
|
void |
Added in version 10 |
10.0 |
SetValue SetValue(value)
|
void |
|
< 9.5 |
Value Value()
|
bool |
|
< 9.5 |
Name |
Returns |
Description |
Ver |
Redraw Redraw()
|
void |
Call this function to force the widget to redraw itself |
< 9.5 |
Methods inherited from LM_View:
Name |
Returns |
Description |
Ver |
Enable Enable(enable)
|
void |
Enables or disables a view object |
< 9.5 |
Height Height()
|
int32 |
Added in version 11 |
11.0 |
IsEnabled IsEnabled()
|
bool |
Tells whether the view is currently enabled |
< 9.5 |
IsMouseDragging IsMouseDragging(button)
|
bool |
Added in version 11 |
11.0 |
SetCursor SetCursor(cursor)
|
void |
Change the cursor |
< 9.5 |
SetToolTip SetToolTip(tooltip)
|
void |
Added in version 12 |
12.0 |
Width Width()
|
int32 |
Added in version 11 |
11.0 |