Difference between revisions of "LavishGUI:lguitextentry (Data Type)"
Jump to navigation
Jump to search
(2 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
== Members == | == Members == | ||
* [[DataType:string|string]] '''Text''': Text currently in the text entry | * [[DataType:string|string]] '''Text''': Text currently in the text entry | ||
− | * [[ | + | * [[LavishGUI:lguifont (Data Type)|lguifont]] '''Font''' : font object the text entry box |
* [[DataType:int|int]] '''BackgroundColor''' : background color of the text entry box | * [[DataType:int|int]] '''BackgroundColor''' : background color of the text entry box | ||
* [[DataType:int|int]] '''BorderColor ''' : border color of the text entry | * [[DataType:int|int]] '''BorderColor ''' : border color of the text entry | ||
* [[DataType:int|int]] '''Border''' : size in pixels of the border | * [[DataType:int|int]] '''Border''' : size in pixels of the border | ||
+ | * [[LavishGUI:lguitexture (Data Type)|lguitexture]] '''Texture''': Texture for the text entry box when not keyboard-focused | ||
+ | * [[LavishGUI:lguitexture (Data Type)|lguitexture]] '''TextureFocused''': Texture for the text entry box when keyboard-focused | ||
+ | * [[LavishGUI:lguitexture (Data Type)|lguitexture]] '''TextureCaret''': Texture displayed for the caret when in insert mode | ||
+ | * [[LavishGUI:lguitexture (Data Type)|lguitexture]] '''TextureCaretOverwrite''': Texture displayed for the caret when in overwrite mode | ||
+ | |||
== 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
Returns
Same as lguielement.Name