Class LM_TextList

Parent classes: LM_BaseWidget < LM_View

Version added: before 9.5
The LM_TextList class provides a scrollable list of text items. To create a new text list, you would use the LM.GUI.TextList method.

Methods of LM_TextList:

Name Returns Description Ver
AddItem void Adds a new text item to the end of the list < 9.5
AddItemAlphabetically void Inserts a new item into the list alphabetically. < 9.5
CountItems int32 Returns the number of entries in the list < 9.5
GetItem char Returns the string value of an item in the list < 9.5
RemoveItem void Removes an item from the list < 9.5
SelItem int32 Returns the id number of the currently selected item (starting with 0 for the first item) < 9.5
SelItemLabel char Returns the text string associated with the currently selected item < 9.5
SetItemLabel void Changes the text string associated with an entry in the list < 9.5
SetSelItem bool Selects an item that matches the supplied string < 9.5
SetSelItem void Selects an item in the list < 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.0
IsEnabled bool Tells whether the view is currently enabled < 9.5
IsMouseDragging bool Added in version 11 11.0
SetCursor void Change the cursor < 9.5
SetToolTip void Added in version 12 12.0
Width int32 Added in version 11 11.0