The DText class is the control class for text controls.
Properties
- type
- state
- nsTop
- nsLeft
- nsBottom
- nsRight
- key
- said
- value
- text
- font
- mode
Methods
-
Creates a new DText instance and sets it's font to the global variable gDefaultFont.
-
Evaluates the control's text and sets it's needed size. If maxWidth is specified, the control can only be maxWidth pixels wide.