Class LM_ShortButton

Version added: 13.5.2
LM_View>LM_BaseWidget>LM_ShortButton
To create a new object of this class use the LM.GUI.ShortButton method.

Methods of LM_ShortButton:

Name Returns Description Ver
SetAltMessage SetAltMessage(altMsg) void This message will get sent if the user holds down the Alt key while clicking the button 14.4
SetCtrlMessage SetCtrlMessage(ctrlMsg) void This message will get sent if the user holds down the Ctrl key while clicking the button 14.4
SetLabel SetLabel(label) void 13.5.2
SetShiftMessage SetShiftMessage(shiftMsg) void This message will get sent if the user holds down the Shift key while clicking the button 14.4

Methods inherited from LM_BaseWidget:

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 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