Difference between revisions of "Imagestrip"
From Lianjapedia
Helen.george (Talk | contribs) |
Helen.george (Talk | contribs) |
||
| Line 16: | Line 16: | ||
|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 41: | ||
|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 56: | ||
|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 70: | ||
|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 81: | ||
|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 92: | Line 91: | ||
!Args | !Args | ||
!width="50%"|Description | !width="50%"|Description | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
|- | |- | ||
|valign="top"|AddItem | |valign="top"|AddItem | ||
| Line 108: | Line 99: | ||
|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 108: | ||
|valign="top"|Clear the imagestrip | |valign="top"|Clear the imagestrip | ||
|- | |- | ||
| − | + | |valign="top"|RemoveObject | |
| + | |valign="top"|existing as Object | ||
| + | |valign="top"|Remove the specified object | ||
| + | |- | ||
|} | |} | ||
Revision as of 09:24, 30 April 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 |
|---|---|---|---|
| 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 |
|---|