Difference between revisions of "Section"

From Lianjapedia
Jump to: navigation, search
Line 5: Line 5:
 
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 118: Line 118:
 
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
Line 189: Line 189:
 
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

Revision as of 10:00, 30 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
Database RW Character The section's associated database
Table RW Character The section's associated table
ConnStr RW Character Data connection string
Caption RW Character Text displayed in the section header
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
HideHeader RW Boolean Whether section header is hidden
HideActionbar RW Boolean Whether section actionbar is hidden
FooterCaption RW Character Text displayed in section footer
ActivePage RW Character Currently active Page
ActiveControl RW Object Currently active Control
BackColor RW Character Section's background color
Grid R Object Reference to grid contained in section
WebView R Object Reference to webview contained in section
FooterVisible RW Boolean Whether section footer is displayed
Command RW Character Custom BROWSE or EDIT command to be executed in the section
Url RW Character URL rendered by section (WebView only)
Filter RW Character Filter expression to restrict the records included in the data
Type R Character Section's type: form, grid, webview, imagestrip, tabview, attachments, canvas, report, chart, custom, timeline, notifications
Id R Character Section's id

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
Print None Print the section

Events

This class supports the Common Events plus the following:

Event Args Description