Difference between revisions of "Textbox"

From Lianjapedia
Jump to: navigation, search
Line 11: Line 11:
 
!width="50%"|Description
 
!width="50%"|Description
 
|-
 
|-
 
 
 
|valign="top"|Alignment
 
|valign="top"|Alignment
 
|valign="top"|RW
 
|valign="top"|RW
Line 18: Line 16:
 
|valign="top"|Alignment: 0 = left, 1 = right, 2 = center
 
|valign="top"|Alignment: 0 = left, 1 = right, 2 = center
 
|-
 
|-
 
+
|valign="top"|Autosuggest
 
+
|valign="top"|RW
 +
|valign="top"|Character
 +
|valign="top"|List of values to be suggested as the user types (comma-separated or SQL select statement)
 +
|-
 +
|valign="top"|Autosuggestcolumn
 +
|valign="top"|RW
 +
|valign="top"|Numeric
 +
|valign="top"|The column to search for Autosuggestions
 +
|-
 +
|valign="top"|Autosuggestheaders
 +
|valign="top"|RW
 +
|valign="top"|Character
 +
|valign="top"|Comma-separated list of headers to display for the Autosuggestions
 +
|-
 
|InputMask
 
|InputMask
 
|RW
 
|RW
Line 29: Line 40:
 
|valign="top"|Character
 
|valign="top"|Character
 
|valign="top"|Character displayed to hide sensitive data such as passwords
 
|valign="top"|Character displayed to hide sensitive data such as passwords
 +
|-
 +
|valign="top"|Placeholder
 +
|valign="top"|RW
 +
|valign="top"|Character
 +
|valign="top"|Text to display grayed-out when field is empty and does not have focus
 
|-
 
|-
 
|Readonly
 
|Readonly
Line 34: Line 50:
 
|Boolean
 
|Boolean
 
|Whether object is read only
 
|Whether object is read only
 +
|-
 +
|valign="top"|Returntabs
 +
|valign="top"|RW
 +
|valign="top"|Boolean
 +
|valign="top"|Whether the return key should be treated as a tab
 
|-
 
|-
 
|valign="top"|SelectOnEntry
 
|valign="top"|SelectOnEntry

Revision as of 11:58, 29 April 2013

Note: property, method and event names should be referred to in lowercase in case-sensitive scripting languages.

Properties

This class supports the Common Properties plus the following:

Property Access (R/RW) Value Description
Alignment RW Numeric Alignment: 0 = left, 1 = right, 2 = center
Autosuggest RW Character List of values to be suggested as the user types (comma-separated or SQL select statement)
Autosuggestcolumn RW Numeric The column to search for Autosuggestions
Autosuggestheaders RW Character Comma-separated list of headers to display for the Autosuggestions
InputMask RW Character Input mask to format text
PasswordChar RW Character Character displayed to hide sensitive data such as passwords
Placeholder RW Character Text to display grayed-out when field is empty and does not have focus
Readonly RW Boolean Whether object is read only
Returntabs RW Boolean Whether the return key should be treated as a tab
SelectOnEntry RW Boolean Whether value is selected when object is entered
Text RW Character Object's text value
Tooltip RW Character Text displayed when mouse hovers over object
Validation RW Character String containing boolean expression to validate data entry
ValidationErrorMessage RW Character Message displayed if validation returns False
Value RW Expr Object's value, which can be any valid data type

Methods

This class supports the Common Methods plus the following:

Method Args Description

Events

This class supports the Common Events plus the following:

Event Args Description