Class: DText (of Control)

The DText class is the control class for text controls.

Properties

  • type
  • state
  • nsTop
  • nsLeft
  • nsBottom
  • nsRight
  • key
  • said
  • value
  • text
  • font
  • mode

Methods

  • heapPtr new()

    Creates a new DText instance and sets it's font to the global variable gDefaultFont.

  • void setSize([number MaxWidth])

    Evaluates the control's text and sets it's needed size. If maxWidth is specified, the control can only be maxWidth pixels wide.