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

From Lavish Software Wiki
Jump to navigation Jump to search
 
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
== Description ==
 
== Description ==
Provides control over text entry boxes
+
Provides control for [[LavishGUI:textentry_%28Element_Type%29|textentry (Element Type)]].
 
== Members ==
 
== Members ==
 
* [[DataType:string|string]] '''Text''': Text currently in the text entry
 
* [[DataType:string|string]] '''Text''': Text currently in the text entry
* [[ISSession:isuifont (Data Type)|isuifont]] '''Font''' : font object the text entry box
+
* [[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
Line 21: Line 26:
 
== See Also ==
 
== See Also ==
 
* [[LavishGUI]]
 
* [[LavishGUI]]
 +
* [[LavishGUI:textentry_%28Element_Type%29|textentry (Element Type)]]
 
* [[LavishScript:Data Types|LavishScript Data Types]]
 
* [[LavishScript:Data Types|LavishScript Data Types]]
 
* [[IS:Session#Data_Types|Inner Space Session Data Types]]
 
* [[IS:Session#Data_Types|Inner Space Session Data Types]]
  
 
[[Category:LavishGUI]]
 
[[Category:LavishGUI]]

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