Torque3D Documentation / _generateds / GuiMLTextEditCtrl

GuiMLTextEditCtrl

consoledoc.h

A text entry control that accepts the Gui Markup Language ('ML') tags and multiple lines.

More...

Public Attributes

string

Script function to run whenever the 'escape' key is pressed when this control is in focus.

Detailed Description

A text entry control that accepts the Gui Markup Language ('ML') tags and multiple lines.

new GuiMLTextEditCtrl()
   {
      lineSpacing = "2";
      allowColorChars = "0";
      maxChars = "-1";
      deniedSound = "DeniedSoundProfile";
      text = "";
      escapeCommand = "onEscapeScriptFunction();";
     //Properties not specific to this control have been omitted from this example.
   };

Public Attributes

string escapeCommand 

Script function to run whenever the 'escape' key is pressed when this control is in focus.