Difference between revisions of "LavishGUI:lguitextentry (Data Type)"

From Lavish Software Wiki
Jump to navigation Jump to search
 
Line 13: Line 13:
  
 
== Methods ==
 
== Methods ==
* '''SetText['''Text''']''': Sets the text entry to <text>
+
* '''SetText['''Text''']''': Sets the text entry to <text> -- Does not fire OnChange
 
* '''SetBackgroundColor''' : set text entry box's background color
 
* '''SetBackgroundColor''' : set text entry box's background color
 
* '''SetBorderColor''' : set text entry box's border color
 
* '''SetBorderColor''' : set text entry box's border color

Latest revision as of 21:08, 6 February 2016

Description

Provides control for textentry (Element Type).

Members

  • string Text: Text currently in the text entry
  • lguifont Font : font object the text entry box
  • int BackgroundColor : background color of the text entry box
  • int BorderColor  : border color of the text entry
  • int Border : size in pixels of the border
  • lguitexture Texture: Texture for the text entry box when not keyboard-focused
  • lguitexture TextureFocused: Texture for the text entry box when keyboard-focused
  • lguitexture TextureCaret: Texture displayed for the caret when in insert mode
  • lguitexture TextureCaretOverwrite: Texture displayed for the caret when in overwrite mode

Methods

  • SetText[Text]: Sets the text entry to <text> -- Does not fire OnChange
  • SetBackgroundColor : set text entry box's background color
  • SetBorderColor : set text entry box's border color

Inherits

lguielement

Returns

Same as lguielement.Name

Examples

See Also