Torque 3D - Script Manual: GuiMLTextEditCtrl Class Reference

TorqueScript

Main   Class List   Namespace List   Online

GuiMLTextEditCtrl Class Reference
[General Controls]

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

Inheritance diagram for GuiMLTextEditCtrl:

List of all members.

Public Attributes

string escapeCommand
 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.

Example:
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.
   };
See also:
GuiMLTextCtrl
GuiControl

Member Data Documentation

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



Copyright © GarageGames, LLC. All Rights Reserved.