XML/EditBox

Inheritance
Derived from: 

Runtime object: EditBox

Elements
{}, , 

Attributes

 * font
 * - name of one of the predefined fonts to use in your EditBox. For example, "GameFontNormal".


 * letters
 * - maximum number of letters which can be entered in this EditBox. Zero means no character limit.


 * blinkSpeed
 * - speed of cursor blinking, interval in seconds between "blinks".


 * numeric
 * - if true, then only digits 0-9 can be entered in this EditBox


 * password
 * - if true, then asterisks will be displayed instead of whatever text you enter.


 * multiLine
 * - multi-line EditBox


 * historyLines
 * - Number of lines to keep as a "history" for this editbox. You can cycle through editbox' history with arrows Up and Down (or Alt+Up, Alt+Down if attribute ignoreArrows set to true)


 * autoFocus
 * - if true, then this EditBox will automatically receive keyboard focus when it is displayed.


 * ignoreArrows
 * - if false, then pressing arrows on keyboard will move cursor around the EditBox. If set to true, then EditBox will ignore arrows and they will instead turn around your character in game world. In this case you can still move text cursor around your editbox with Alt-arrows.

Example
Included in Backdrop           </Anchors> <Layers> <Layer level="BACKGROUND"> <Texture file="Interface\ChatFrame\UI-ChatInputBorder-Left">  </AbsDimension> </Size> <Anchors> <Anchor point="LEFT">  </AbsDimension> </Offset> </Anchor> </Anchors> <TexCoords left="0" right="0.2" top="0" bottom="1.0"></TexCoords> </Texture> <Texture file="Interface\ChatFrame\UI-ChatInputBorder-Right">  </AbsDimension> </Size> <Anchors> <Anchor point="RIGHT">  </AbsDimension> </Offset> </Anchor> </Anchors> <TexCoords left="0.7" right="1.0" top="0" bottom="1.0"></TexCoords> </Texture> </Layer> </Layers> <Scripts> <OnLoad></OnLoad> </Scripts> <FontString inherits="ChatFontNormal"></FontString> </EditBox>