Difference between revisions of "Spinner"
From Lianjapedia
Yvonne.milne (Talk | contribs) |
Helen.george (Talk | contribs) |
||
Line 1: | Line 1: | ||
+ | Note: property, method and event names should be referred to in lowercase in case-sensitive scripting languages. | ||
+ | |||
====Properties==== | ====Properties==== | ||
Line 11: | Line 13: | ||
|Text | |Text | ||
|RW | |RW | ||
− | | | + | |Character |
− | | | + | |Object's numeric value as character |
|- | |- | ||
|Value | |Value | ||
|RW | |RW | ||
− | | | + | |Numeric |
− | | | + | |Object's numeric value |
|- | |- | ||
|Alignment | |Alignment | ||
|RW | |RW | ||
− | | | + | |Numeric |
− | | | + | |Alignment: 0 = left, 1 = right, 2 = center |
|- | |- | ||
− | | | + | |KeyboardHighValue |
|RW | |RW | ||
− | | | + | |Numeric |
− | | | + | |Maximum value using keyboard |
|- | |- | ||
− | | | + | |KeyboardLowValue |
|RW | |RW | ||
− | | | + | |Numeric |
− | | | + | |Minimum value using keyboard |
|- | |- | ||
− | | | + | |SpinnerHighValue |
|RW | |RW | ||
− | | | + | |Numeric |
− | | | + | |Maximum value using arrows |
|- | |- | ||
− | | | + | |SpinnerLowValue |
|RW | |RW | ||
− | | | + | |Numeric |
− | | | + | |Minimum value using arrows |
|- | |- | ||
− | |Increment | + | |valign="top"|Increment |
− | |RW | + | |valign="top"|RW |
− | | | + | |valign="top"|Numeric |
− | | | + | |valign="top"|Amount value is incremented or decremented when arrows are clicked |
|- | |- | ||
|Readonly | |Readonly | ||
|RW | |RW | ||
− | | | + | |Boolean |
− | | | + | |Whether object is read only |
|- | |- | ||
− | |Prefix | + | |valign="top"|Prefix |
− | |RW | + | |valign="top"|RW |
− | | | + | |valign="top"|Character |
− | | | + | |valign="top"|Prefix displayed before value, e.g. currency symbol |
|- | |- | ||
|Suffix | |Suffix | ||
|RW | |RW | ||
− | | | + | |Character |
− | | | + | |Suffix displayed after value, e.g. CR |
|- | |- | ||
− | |Validation | + | |valign="top"|Validation |
− | |RW | + | |valign="top"|RW |
− | | | + | |valign="top"|Character |
− | | | + | |valign="top"|String containing boolean expression to validate data entry |
|- | |- | ||
− | | | + | |valign="top"|ValidationErrorMessage |
− | |RW | + | |valign="top"|RW |
− | | | + | |valign="top"|Character |
− | | | + | |valign="top"|Message displayed if validation returns False |
|- | |- | ||
|} | |} |
Revision as of 13:02, 9 January 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 |
---|---|---|---|
Text | RW | Character | Object's numeric value as character |
Value | RW | Numeric | Object's numeric value |
Alignment | RW | Numeric | Alignment: 0 = left, 1 = right, 2 = center |
KeyboardHighValue | RW | Numeric | Maximum value using keyboard |
KeyboardLowValue | RW | Numeric | Minimum value using keyboard |
SpinnerHighValue | RW | Numeric | Maximum value using arrows |
SpinnerLowValue | RW | Numeric | Minimum value using arrows |
Increment | RW | Numeric | Amount value is incremented or decremented when arrows are clicked |
Readonly | RW | Boolean | Whether object is read only |
Prefix | RW | Character | Prefix displayed before value, e.g. currency symbol |
Suffix | RW | Character | Suffix displayed after value, e.g. CR |
Validation | RW | Character | String containing boolean expression to validate data entry |
ValidationErrorMessage | RW | Character | Message displayed if validation returns False |
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 |
---|