Difference between revisions of "LGUI2:textbox"

From Lavish Software Wiki
Jump to navigation Jump to search
(Created page with "A LavishGUI 2 textbox element is an editable text area with a standard LGUI2:Border. == Defining a textbox element == A textbox element is an LGUI2:Element|Element...")
 
Line 2: Line 2:
  
 
== Defining a textbox element ==
 
== Defining a textbox element ==
A textbox element is an [[LGUI2:Element|Element]] with additional properties.
+
A textbox element is a [[LGUI2:Content Container|Content Container]] with additional properties.
  
 
{| border="1" style="border-collapse:collapse" cellpadding="5"
 
{| border="1" style="border-collapse:collapse" cellpadding="5"
Line 10: Line 10:
 
| A text value to initialize with
 
| A text value to initialize with
 
|-
 
|-
! borderBrush
+
! textScanner
| A [[LGUI2:Brush|Brush]] definition specifying the brush for the standard Border
+
| A [[LGUI2:Text Scanner|Text Scanner]] definition specifying options for syntax highlighting and decoration
 
|-
 
|-
! backgroundBrush
+
! cursor
| A [[LGUI2:Brush|Brush]] definition specifying the brush for the background inside the Border
+
| A standard [[LGUI2:Border|Border]] definition describing the text cursor
 
|-
 
|-
! borderThickness
+
! selectionBrush
| A [[LGUI2:Thickness|Thickness]] definition specifying the thickness for the standard Border
+
| A [[LGUI2:Brush|Brush]] definition used for the background of selected text
 
|}
 
|}
  

Revision as of 22:56, 4 February 2019

A LavishGUI 2 textbox element is an editable text area with a standard Border.

Defining a textbox element

A textbox element is a Content Container with additional properties.

textbox element properties
text A text value to initialize with
textScanner A Text Scanner definition specifying options for syntax highlighting and decoration
cursor A standard Border definition describing the text cursor
selectionBrush A Brush definition used for the background of selected text


Examples

LavishGUI 2 Element Types

LavishGUI 2 LavishScript Object Types

Core API (see Using LavishGUI 2 from LavishScript)
lgui2 - lgui2animateargs - lgui2animationtype - lgui2elementref - lgui2eventargs - lgui2eventhandler - lgui2elementtype - lgui2itemviewgeneratorargs - lgui2inputbinding - lgui2layer - lgui2skin - lgui2trigger
Enums
elgui2animationframestate - elgui2dpad - elgui2edge - elgui2fontflags - elgui2horizontalalignment - elgui2imageorientation - elgui2progresstext - elgui2scrollbar - elgui2sizetocontent - elgui2verticalignment - elgui2visibility
Element Components
lgui2animation - lgui2brush - lgui2fontstyle - lgui2margins - lgui2item - lgui2property - lgui2radialitem - lgui2radialgaugeneedle
Element Base Types
lgui2element - lgui2bordered - lgui2contentbase - lgui2headeredcontentbase - lgui2itemlist
Elements