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

Version added: before 9.5
Creates a new LM_TextControl object

Arguments:

Name Type Description Default Ver
width int32 The width of the text control in pixels (enter 0 for automatic sizing) < 9.5
text char The initial text to display < 9.5
msg int32 A message value to be triggered when the user changes the text in the box 0 < 9.5
fieldType uint32 The type of text allowed - see the constants for this option LM_FIELD_TEXT < 9.5
label char The text label to precede the control NULL 11.1

Return value:

LM_TextControl the newly-created text control
Creates a new LM_TextControl object that can then be added to a dialog or toolbar.
<< Back to LM.GUI