LM.GUI.TextControl(width, text, msg, fieldType, label)

Version added: before 9.5

Creates a new LM_TextControl object

ArgumentTypeDescriptionDefaultVer
widthint32The width of the text control in pixels (enter 0 for automatic sizing)< 9.5
textcharThe initial text to display< 9.5
msgint32A message value to be triggered when the user changes the text in the box0< 9.5
fieldTypeuint32The type of text allowed - see the constants for this optionLM_FIELD_TEXT< 9.5
labelcharThe text label to precede the controlNULL11.1

Return type (LM_TextControl): the newly-created text control

Creates a new LM_TextControl object that can then be added to a dialog or toolbar.