Difference between revisions of "Imagestrip"
From Lianjapedia
Helen.george (Talk | contribs) |
Yvonne.milne (Talk | contribs) (→Description) |
||
(9 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. | ||
+ | |||
+ | ====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}}:imagestrip.png|link={{filepath:image_strip_image_cs.png}}|Imagestrip]] | ||
+ | |||
+ | Imagestrips are containers for displaying multiple images with navigational controls. | ||
+ | |||
====Properties==== | ====Properties==== | ||
− | This class supports the | + | This class supports the [[:Category:Common_Properties|Common Properties]] plus the following: |
− | {| class="wikitable" | + | {| class="wikitable" width="100%" |
!width="20%"|Property | !width="20%"|Property | ||
!Access (R/RW) | !Access (R/RW) | ||
Line 9: | Line 18: | ||
!width="50%"|Description | !width="50%"|Description | ||
|- | |- | ||
− | |valign="top|Caption | + | |valign="top"|Caption |
− | |valign="top|RW | + | |valign="top"|RW |
− | |valign="top|Character | + | |valign="top"|Character |
− | |valign="top|Text associated with the imagestrip | + | |valign="top"|Text associated with the imagestrip |
|- | |- | ||
− | |valign="top| | + | |valign="top"|ControlSource |
− | |valign="top|RW | + | |valign="top"|RW |
− | |valign="top|Character | + | |valign="top"|Character |
− | |valign="top| | + | |valign="top"|Source of data to which the object is bound |
|- | |- | ||
− | |valign="top|Gradient | + | |valign="top"|Gradient |
− | |valign="top|RW | + | |valign="top"|RW |
− | |valign="top|Numeric | + | |valign="top"|Numeric |
− | |valign="top|Gradient type: 0 = none, 1 = vertical spread, 2 = left to right, 3 = right to left, 4 = vertical centered, 5 = iPad style | + | |valign="top"|Gradient type: 0 = none, 1 = vertical spread, 2 = left to right, 3 = right to left, 4 = vertical centered, 5 = iPad style |
|- | |- | ||
− | |valign="top|GradientFromColor | + | |valign="top"|GradientFromColor |
− | |valign="top|RW | + | |valign="top"|RW |
− | |valign="top|Numeric | + | |valign="top"|Numeric |
− | |valign="top|Gradient start color | + | |valign="top"|Gradient start color |
|- | |- | ||
− | |valign="top|GradientToColor | + | |valign="top"|GradientToColor |
− | |valign="top|RW | + | |valign="top"|RW |
− | |valign="top|Numeric | + | |valign="top"|Numeric |
− | |valign="top|Gradient end color | + | |valign="top"|Gradient end color |
|- | |- | ||
− | |valign="top|Margin | + | |valign="top"|Margin |
− | |valign="top|RW | + | |valign="top"|RW |
− | |valign="top|Numeric | + | |valign="top"|Numeric |
− | |valign="top|Margin size in pixels | + | |valign="top"|Margin size in pixels |
|- | |- | ||
− | |valign="top| | + | |valign="top"|MarginBottom |
− | |valign="top|RW | + | |valign="top"|RW |
− | |valign="top|Numeric | + | |valign="top"|Numeric |
− | |valign="top| | + | |valign="top"|Bottom margin in pixels |
|- | |- | ||
− | |valign="top|MarginLeft | + | |valign="top"|MarginLeft |
− | |valign="top|RW | + | |valign="top"|RW |
− | |valign="top|Numeric | + | |valign="top"|Numeric |
− | |valign="top|Left margin in pixels | + | |valign="top"|Left margin in pixels |
|- | |- | ||
− | |valign="top|MarginRight | + | |valign="top"|MarginRight |
− | |valign="top|RW | + | |valign="top"|RW |
− | |valign="top|Numeric | + | |valign="top"|Numeric |
− | |valign="top|Right margin in pixels | + | |valign="top"|Right margin in pixels |
|- | |- | ||
− | |valign="top| | + | |valign="top"|MarginTop |
− | |valign="top|RW | + | |valign="top"|RW |
− | |valign="top|Numeric | + | |valign="top"|Numeric |
− | |valign="top| | + | |valign="top"|Top margin in pixels |
|- | |- | ||
− | |valign="top| | + | |valign="top"|Picture |
− | |valign="top|RW | + | |valign="top"|RW |
− | |valign="top| | + | |valign="top"|Character |
− | |valign="top| | + | |valign="top"|Filename of background image |
|- | |- | ||
− | |valign="top| | + | |valign="top"|Spacing |
− | |valign="top|RW | + | |valign="top"|RW |
− | |valign="top| | + | |valign="top"|Numeric |
− | |valign="top| | + | |valign="top"|Control spacing in pixels |
|- | |- | ||
− | |valign="top|RecordSource | + | |valign="top"|RecordSource |
− | |valign="top|RW | + | |valign="top"|RW |
− | |valign="top|Character | + | |valign="top"|Character |
− | |valign="top|String containing SQL statement or table, recordset object or table alias name used as data source | + | |valign="top"|String containing SQL statement or table, recordset object or table alias name used as data source |
|- | |- | ||
− | |valign="top|RecordSourceType | + | |valign="top"|RecordSourceType |
− | |valign="top|RW | + | |valign="top"|RW |
− | |valign="top|Numeric | + | |valign="top"|Numeric |
− | |valign="top|Type of recordsource: 0 = table name, 1 = alias name, 4 = SQL statement, 5 = recordset object | + | |valign="top"|Type of recordsource: 0 = table name, 1 = alias name, 4 = SQL statement, 5 = recordset object |
|- | |- | ||
− | |||
|} | |} | ||
====Methods==== | ====Methods==== | ||
− | This class supports the | + | This class supports the [[:Category:Common_Methods|Common Methods]] plus the following: |
− | {| class="wikitable" | + | {| class="wikitable" width="100%" |
!width="20%"|Method | !width="20%"|Method | ||
!Args | !Args | ||
!width="50%"|Description | !width="50%"|Description | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
|valign="top"|AddItem | |valign="top"|AddItem | ||
Line 106: | Line 106: | ||
|valign="top"|selectstatement as Character | commalist as Character | pipelist as Character | items as Array | |valign="top"|selectstatement as Character | commalist as Character | pipelist as Character | items as Array | ||
|valign="top"|Add items based on an SQL SELECT query, a comma-separated list, a pipe-separated list or from an array | |valign="top"|Add items based on an SQL SELECT query, a comma-separated list, a pipe-separated list or from an array | ||
+ | |- | ||
+ | |valign="top"|AddObject | ||
+ | |valign="top"|existing as Object | newobject as Character, class as Character | ||
+ | |valign="top"|Add an existing object or a new object, in which case the object's class must also be specified | ||
|- | |- | ||
|valign="top"|Clear | |valign="top"|Clear | ||
Line 111: | Line 115: | ||
|valign="top"|Clear the imagestrip | |valign="top"|Clear the imagestrip | ||
|- | |- | ||
− | + | |valign="top"|RemoveObject | |
+ | |valign="top"|existing as Object | ||
+ | |valign="top"|Remove the specified object | ||
+ | |- | ||
|} | |} | ||
====Events==== | ====Events==== | ||
− | This class supports the | + | This class supports the [[:Category:Common_Events|Common Events]] plus the following: |
− | {| class="wikitable" | + | {| class="wikitable" width="100%" |
!width="20%"|Event | !width="20%"|Event | ||
!Args | !Args |
Latest revision as of 10:55, 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.
Imagestrips are containers for displaying multiple images with navigational controls.
Properties
This class supports the Common Properties plus the following:
Property | Access (R/RW) | Value | Description |
---|---|---|---|
Caption | RW | Character | Text associated with the imagestrip |
ControlSource | RW | Character | Source of data to which the object is bound |
Gradient | RW | Numeric | Gradient type: 0 = none, 1 = vertical spread, 2 = left to right, 3 = right to left, 4 = vertical centered, 5 = iPad style |
GradientFromColor | RW | Numeric | Gradient start color |
GradientToColor | RW | Numeric | Gradient end color |
Margin | RW | Numeric | Margin size in pixels |
MarginBottom | RW | Numeric | Bottom margin in pixels |
MarginLeft | RW | Numeric | Left margin in pixels |
MarginRight | RW | Numeric | Right margin in pixels |
MarginTop | RW | Numeric | Top margin in pixels |
Picture | RW | Character | Filename of background image |
Spacing | RW | Numeric | Control spacing in pixels |
RecordSource | RW | Character | String containing SQL statement or table, recordset object or table alias name used as data source |
RecordSourceType | RW | Numeric | Type of recordsource: 0 = table name, 1 = alias name, 4 = SQL statement, 5 = recordset object |
Methods
This class supports the Common Methods plus the following:
Method | Args | Description |
---|---|---|
AddItem | item as Character | Add an item |
AddItems | selectstatement as Character | commalist as Character | pipelist as Character | items as Array | Add items based on an SQL SELECT query, a comma-separated list, a pipe-separated list or from an array |
AddObject | existing as Object | newobject as Character, class as Character | Add an existing object or a new object, in which case the object's class must also be specified |
Clear | None | Clear the imagestrip |
RemoveObject | existing as Object | Remove the specified object |
Events
This class supports the Common Events plus the following:
Event | Args | Description |
---|