Difference between revisions of "Imagestrip"
From Lianjapedia
Helen.george (Talk | contribs) |
Helen.george (Talk | contribs) |
||
| Line 1: | Line 1: | ||
| + | Note: property, method and event names should be referred to in lowercase in case-sensitive scripting languages. | ||
| + | |||
====Properties==== | ====Properties==== | ||
Revision as of 11:30, 3 January 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 |
| Picture | RW | Character | Filename of background image |
| 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 |
| MarginTop | RW | Numeric | Top margin in pixels |
| MarginLeft | RW | Numeric | Left margin in pixels |
| MarginRight | RW | Numeric | Right margin in pixels |
| MarginBottom | RW | Numeric | Bottom margin in pixels |
| Spacing | RW | Numeric | Control spacing in pixels |
| ControlSource | RW | Character | Source of data to which the object is bound |
| 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 |
|---|---|---|
| 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 |
| RemoveObject | existing as Object | Remove the specified object |
| 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 |
| Clear | None | Clear the imagestrip |
Events
This class supports the Common events plus the following:
| Event | Args | Description |
|---|