Difference between revisions of "Progressbar"
From Lianjapedia
Helen.george (Talk | contribs) |
Yvonne.milne (Talk | contribs) (→Description) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
Note: property, method and event names should be referred to in lowercase in case-sensitive scripting languages. | Note: property, method and event names should be referred to in lowercase in case-sensitive scripting languages. | ||
+ | |||
+ | ====Description==== | ||
+ | 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}}:progressbar.png|link={{filepath:progressbar_cs.png}}|Progressbar]] | ||
+ | |||
+ | Progressbars are vertical or horizontal bar controls for displaying minimum, current (%) and maximum numeric values. | ||
====Properties==== | ====Properties==== | ||
Line 11: | Line 18: | ||
!width="50%"|Description | !width="50%"|Description | ||
|- | |- | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
|valign="top"|Alignment | |valign="top"|Alignment | ||
|valign="top"|RW | |valign="top"|RW | ||
Line 40: | Line 38: | ||
|Numeric | |Numeric | ||
|Orientation: 0 = horizontal, 1 = vertical | |Orientation: 0 = horizontal, 1 = vertical | ||
+ | |- | ||
+ | |Text | ||
+ | |RW | ||
+ | |Character | ||
+ | |Text associated with the progressbar | ||
+ | |- | ||
+ | |Value | ||
+ | |RW | ||
+ | |Numeric | ||
+ | |Current progressbar value | ||
|- | |- | ||
|} | |} |
Latest revision as of 10:49, 9 April 2018
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.
Progressbars are vertical or horizontal bar controls for displaying minimum, current (%) and maximum numeric values.
Properties
This class supports the Common Properties plus the following:
Property | Access (R/RW) | Value | Description |
---|---|---|---|
Alignment | RW | Numeric | Alignment of percentage label: 0 = left, 1 = right, 2 = center |
Maximum | RW | Numeric | Maximum value |
Minimum | RW | Numeric | Minimum value |
Orientation | RW | Numeric | Orientation: 0 = horizontal, 1 = vertical |
Text | RW | Character | Text associated with the progressbar |
Value | RW | Numeric | Current progressbar value |
Methods
This class supports the Common Methods plus the following:
Method | Args | Description |
---|---|---|
Reset | None | Reset the progressbar to its minimum value |
Events
This class supports the Common Events plus the following:
Event | Args | Description |
---|