LavishGUI:textentry (Element Type)

From Lavish Software Wiki
Jump to navigation Jump to search

Introduction

What is a Text Entry element?

A text entry element is used to obtain data from a user. lguitextentry (Data Type) is used to provide access via LavishScript.

Using Text Entry elements

Text Entry elements are descendants of the base element type. Any attributes of the base element type may be applied in addition to the text entry element-specific properties described below.

Text Entry element-Specific Properties

  • BackgroundColor
Background color
  • Border
Size of border around the element. This border is included in the size of the element
  • BorderColor
Border color
  • CaretOuterColor
Color used for the outside (inner in Insert mode) of the caret, visible while the element is in keyboard focus
  • CaretInnerColor
Color used for the inside (outer in Insert mode) of the caret, visible while the element is in keyboard focus
  • Font
Font reference (Name, Size, Color)
  • MaxLength
Maximum size of text buffer. The number of characters that can be typed is this number less 1
  • SelectionColor
Background color of selected text
  • PasswordCharacter
Single character to use in place of any given character in this text entry element (thereby making it suitable for password entry)

Embedded Script

  • OnChange
Executes when the text changes

Examples

See Also