Template:TextEntry Properties

From Empires Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Properties Inherited from TextEntry

  • font: The font to use to display the text. Defaults to "Default"
  • textHidden: Hides the text. Defaults to 0 (false)
  • editable: Enables the user to edit the text. Defaults to 1 (true)
  • maxChars: The maximum amount of characters the user can enter. Defaults to -1 (infinite)
  • numericInputOnly: Restricts the user to numbers only. Defaults to 0.
  • unicode: Allows the user to enter unicode characters (emoji for example.) Defaults to 0.
  • selectAllOnFirstFocus: Selects all text when initially selected. Defaults to 0.
  • disabledFgColor_override: Text color when disabled.
  • disabledBgColor_override: Background color when disabled.
  • selectionColor_override: Selection background color.
  • selectionTextColor_override: Selection text color.
  • defaultSelectionBG2Color_override:

Properties Inherited from Panel

  • fieldName: Determines the name of the control.
  • xpos: Determines the horizontal offset from the top left (by default) of the parent panel.
  • ypos: Determines the vertical offset from the top left (by default) of the parent panel.
  • wide: Determines the width of the control.
  • tall: Determines the height of the control.
  • zpos: Determines the depth of the panel. Deeper panels are drawn first. Lower numbers = deeper.
  • pinCorner: The pinned corner is the one positioned at xpos/ypos. Values are: TOPLEFT (default), TOPRIGHT, BOTTOMLEFT, BOTTOMRIGHT
  • pinnedCornerOffsetX:
  • pinnedCornerOffsetY:
  • unpinnedCornerOffsetX:
  • unpinnedCornerOffsetY:
  • visible: Determines if the control will be drawn.
  • enabled: Determines if the control is enabled. Used by controls higher up the chain (like Buttons).
  • ignoreScheme:
  • tabPosition: Determines the tab order of the control.
  • tooltiptext: Determines the tooltip text to show when you hover over this control.
  • paintbackground: Paint the background color of this control.
  • paintBackgroundType:
  • paintborder: Paint the border of this control.
  • autoResize: Sets which edges of the panel can be resized. Values are: 0 (NO, default), 1 (RIGHT), 2 (DOWN), 3 (DOWNANDRIGHT)
  • fgcolor_override: Sets the foreground color
  • bgcolor_override: Sets the background color