Difference between revisions of "Section"
From Lianjapedia
Helen.george (Talk | contribs) |
Helen.george (Talk | contribs) |
||
Line 11: | Line 11: | ||
!width="50%"|Description | !width="50%"|Description | ||
|- | |- | ||
− | | | + | |ActiveControl |
|RW | |RW | ||
− | | | + | |Object |
− | | | + | |Currently active Control |
|- | |- | ||
− | | | + | |ActivePage |
|RW | |RW | ||
|Character | |Character | ||
− | | | + | |Currently active Page |
|- | |- | ||
− | | | + | |BackColor |
|RW | |RW | ||
|Character | |Character | ||
− | | | + | |Section's background color |
|- | |- | ||
|Caption | |Caption | ||
Line 31: | Line 31: | ||
|Text displayed in the section header | |Text displayed in the section header | ||
|- | |- | ||
− | + | |valign="top"|Command | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | |valign="top"| | + | |
|valign="top"|RW | |valign="top"|RW | ||
− | |valign="top"| | + | |valign="top"|Character |
− | |valign="top"| | + | |valign="top"|Custom BROWSE or EDIT command to be executed in the section |
|- | |- | ||
− | | | + | |ConnStr |
|RW | |RW | ||
− | | | + | |Character |
− | | | + | |Data connection string |
|- | |- | ||
− | | | + | |Database |
|RW | |RW | ||
− | | | + | |Character |
− | | | + | |The section's associated database |
+ | |- | ||
+ | |valign="top"|Filter | ||
+ | |valign="top"|RW | ||
+ | |valign="top"|Character | ||
+ | |valign="top"|Filter expression to restrict the records included in the data | ||
|- | |- | ||
|FooterCaption | |FooterCaption | ||
Line 56: | Line 56: | ||
|Text displayed in section footer | |Text displayed in section footer | ||
|- | |- | ||
− | | | + | |FooterVisible |
|RW | |RW | ||
− | | | + | |Boolean |
− | | | + | |Whether section footer is displayed |
|- | |- | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|Grid | |Grid | ||
|R | |R | ||
Line 77: | Line 66: | ||
|Reference to grid contained in section | |Reference to grid contained in section | ||
|- | |- | ||
− | | | + | |HideActionbar |
− | | | + | |RW |
− | | | + | |Boolean |
− | | | + | |Whether section actionbar is hidden |
|- | |- | ||
− | | | + | |HideHeader |
|RW | |RW | ||
|Boolean | |Boolean | ||
− | |Whether section | + | |Whether section header is hidden |
|- | |- | ||
− | | | + | |Id |
− | | | + | |R |
− | + | |Character | |
− | | | + | |Section's id |
|- | |- | ||
− | | | + | |Picture |
|RW | |RW | ||
|Character | |Character | ||
− | | | + | |Filename of background image |
|- | |- | ||
− | |valign="top"| | + | |valign="top"|Stretch |
|valign="top"|RW | |valign="top"|RW | ||
− | |valign="top"| | + | |valign="top"|Numeric |
− | |valign="top"| | + | |valign="top"|Whether background image should be scaled to fit section: 0 = do not scale, 1 = scale |
+ | |- | ||
+ | |Table | ||
+ | |RW | ||
+ | |Character | ||
+ | |The section's associated table | ||
|- | |- | ||
|valign="top"|Type | |valign="top"|Type | ||
Line 107: | Line 101: | ||
|valign="top"|Section's type: form, grid, webview, imagestrip, tabview, attachments, canvas, report, chart, custom, timeline, notifications | |valign="top"|Section's type: form, grid, webview, imagestrip, tabview, attachments, canvas, report, chart, custom, timeline, notifications | ||
|- | |- | ||
− | | | + | |Url |
− | | | + | |RW |
|Character | |Character | ||
− | | | + | |URL rendered by section (WebView only) |
+ | |- | ||
+ | |WebView | ||
+ | |R | ||
+ | |Object | ||
+ | |Reference to webview contained in section | ||
|- | |- | ||
|} | |} |
Revision as of 04:57, 25 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 |
---|---|---|---|
ActiveControl | RW | Object | Currently active Control |
ActivePage | RW | Character | Currently active Page |
BackColor | RW | Character | Section's background color |
Caption | RW | Character | Text displayed in the section header |
Command | RW | Character | Custom BROWSE or EDIT command to be executed in the section |
ConnStr | RW | Character | Data connection string |
Database | RW | Character | The section's associated database |
Filter | RW | Character | Filter expression to restrict the records included in the data |
FooterCaption | RW | Character | Text displayed in section footer |
FooterVisible | RW | Boolean | Whether section footer is displayed |
Grid | R | Object | Reference to grid contained in section |
HideActionbar | RW | Boolean | Whether section actionbar is hidden |
HideHeader | RW | Boolean | Whether section header is hidden |
Id | R | Character | Section's id |
Picture | RW | Character | Filename of background image |
Stretch | RW | Numeric | Whether background image should be scaled to fit section: 0 = do not scale, 1 = scale |
Table | RW | Character | The section's associated table |
Type | R | Character | Section's type: form, grid, webview, imagestrip, tabview, attachments, canvas, report, chart, custom, timeline, notifications |
Url | RW | Character | URL rendered by section (WebView only) |
WebView | R | Object | Reference to webview contained in section |
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 |
Expand | None | Expand the section |
Collapse | None | Collapse the section |
MoveFirst | None | Move to the first data record |
MoveLast | None | Move to the last data record |
MoveNext | None | Move to the next data record |
MovePrevious | None | Move to the previous data record |
Edit | None | Enter edit mode for the current record |
Delete | None | Delete the current record |
Search | searchstring as Character | Search the current index for the specified text |
GoTo | recordnumber as Numeric | Move to the specified data record number |
Save | None | Save data changes |
Cancel | None | Cancel data changes |
None | Print the section |
Events
This class supports the Common Events plus the following:
Event | Args | Description |
---|