TextLineIn

From Doors CS, Doors CSE, and Doors CE Wiki
Jump to: navigation, search

You are here : Developers' SDK >> AxeDCS GUI Reference >> TextLineIn

Description

Adds a single-line text prompter with custom width, maximum characters allowed, offset and default text to the GUIStack.

Key : 2-SampZTest( [stats] [←]

Inputs

  • X,Y : the text input's position, relative to the container.
  • W : the text input's width in pixels.
  • maxCharr : the maximum number of characters allowed.
  • offsetr : the position in the string of the first character to display (starting from 0).
  • defaultText : the text displayed in the text input. Note that this field will be modified by the user when inputting new text !

Format

Data(X, Y, W, maxCharr, offsetr)→XXX
"Text"[00
TextLineIn(XXX

Always follow this scheme when setting parameters !