Difference between revisions of "Spinner"
From Lianjapedia
Yvonne.milne (Talk | contribs) |
Barrymavin (Talk | contribs) (→Events) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
====Description==== | ====Description==== | ||
− | [[{{ns:file}}:spinner.png|link={{filepath: | + | Shown below in a standalone [[Form]]. Click the image to see in a [[Custom_Sections_and_Gadgets|Custom Section]] in a Lianja [[Page Attributes|Page]]. |
+ | |||
+ | [[{{ns:file}}:spinner.png|link={{filepath:spinner_cs.png}}|Spinner]] | ||
Spinner is a numeric [[Textbox]] control with increment/decrement controls | Spinner is a numeric [[Textbox]] control with increment/decrement controls | ||
Line 102: | Line 104: | ||
!Args | !Args | ||
!width="50%"|Description | !width="50%"|Description | ||
− | + | |- | |
+ | |InteractiveChange||None||Occurs when each key is pressed | ||
+ | |- | ||
+ | |Change||None||Occurs when Tab or return key is pressed | ||
|} | |} | ||
+ | |||
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Framework Classes]] | [[Category:Framework Classes]] |
Latest revision as of 23:45, 9 May 2024
Note: property, method and event names should be referred to in lowercase in case-sensitive scripting languages.
Contents
Description
Shown below in a standalone Form. Click the image to see in a Custom Section in a Lianja Page.
Spinner is a numeric Textbox control with increment/decrement controls
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 |
Increment | RW | Numeric | Amount value is incremented or decremented when arrows are clicked |
KeyboardHighValue | RW | Numeric | Maximum value using keyboard |
KeyboardLowValue | RW | Numeric | Minimum value using keyboard |
Prefix | RW | Character | Prefix displayed before value, e.g. currency symbol |
Readonly | RW | Boolean | Whether object is read only |
SpinnerHighValue | RW | Numeric | Maximum value using arrows |
SpinnerLowValue | RW | Numeric | Minimum value using arrows |
Suffix | RW | Character | Suffix displayed after value, e.g. CR |
Text | RW | Character | Object's numeric value as character |
Validation | RW | Character | String containing boolean expression to validate data entry |
ValidationErrorMessage | RW | Character | Message displayed if validation returns False |
Value | RW | Numeric | Object's numeric value |
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 |
---|---|---|
InteractiveChange | None | Occurs when each key is pressed |
Change | None | Occurs when Tab or return key is pressed |