Difference between revisions of "Imagestrip"
From Lianjapedia
Yvonne.milne (Talk | contribs) |
Yvonne.milne (Talk | contribs) (→Description) |
||
(3 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}}:imagestrip.png|link={{filepath:image_strip_image_cs.png}}|Imagestrip]] | ||
+ | |||
+ | Imagestrips are containers for displaying multiple images with navigational controls. | ||
====Properties==== | ====Properties==== | ||
Line 5: | Line 12: | ||
This class supports the [[:Category:Common_Properties|Common Properties]] plus the following: | This class supports the [[:Category:Common_Properties|Common Properties]] plus the following: | ||
− | {| class="wikitable" width=100% | + | {| class="wikitable" width="100%" |
!width="20%"|Property | !width="20%"|Property | ||
!Access (R/RW) | !Access (R/RW) | ||
Line 16: | Line 23: | ||
|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 | ||
Line 41: | Line 48: | ||
|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 | ||
Line 56: | Line 63: | ||
|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"|Picture | ||
+ | |valign="top"|RW | ||
+ | |valign="top"|Character | ||
+ | |valign="top"|Filename of background image | ||
|- | |- | ||
|valign="top"|Spacing | |valign="top"|Spacing | ||
Line 65: | Line 77: | ||
|valign="top"|Numeric | |valign="top"|Numeric | ||
|valign="top"|Control spacing in pixels | |valign="top"|Control spacing in pixels | ||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
|valign="top"|RecordSource | |valign="top"|RecordSource | ||
Line 81: | Line 88: | ||
|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 | ||
|- | |- | ||
− | |||
|} | |} | ||
Line 88: | Line 94: | ||
This class supports the [[:Category:Common_Methods|Common Methods]] plus the following: | This class supports the [[:Category:Common_Methods|Common Methods]] plus the following: | ||
− | {| class="wikitable" width=100% | + | {| 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 108: | 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 113: | 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 | ||
+ | |- | ||
|} | |} | ||
Line 120: | Line 125: | ||
This class supports the [[:Category:Common_Events|Common Events]] plus the following: | This class supports the [[:Category:Common_Events|Common Events]] plus the following: | ||
− | {| class="wikitable" width=100% | + | {| 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 |
---|