Difference between revisions of "Lianja"
From Lianjapedia
Yvonne.milne (Talk | contribs) m (Yvonne.milne moved page Visage Application Framework - Lianja to Lianja without leaving a redirect) |
Helen.george (Talk | contribs) |
||
Line 9: | Line 9: | ||
!width="50%"|Description | !width="50%"|Description | ||
|- | |- | ||
− | + | |valign="top"|Editor | |
+ | |valign="top"|R | ||
+ | |valign="top"|Object | ||
+ | |valign="top"|Return an object reference to the Editor | ||
+ | |- | ||
+ | |Database | ||
+ | |R | ||
+ | |Character | ||
+ | |Currently active database | ||
+ | |- | ||
+ | |Table | ||
+ | |R | ||
+ | |Character | ||
+ | |Currently active table | ||
+ | |- | ||
+ | |Application | ||
+ | |R | ||
+ | |Character | ||
+ | |Currently active App | ||
+ | |- | ||
+ | |Version | ||
+ | |R | ||
+ | |Character | ||
+ | |Software version | ||
+ | |- | ||
+ | |valign="top"|ActivePage | ||
+ | |valign="top"|RW | ||
+ | |valign="top"|Object | ||
+ | |valign="top"|Return an object reference to the currently active Page | ||
+ | |- | ||
|} | |} | ||
Line 20: | Line 49: | ||
!Args | !Args | ||
!width="50%"|Description | !width="50%"|Description | ||
− | + | |- | |
+ | |valign="top"|AddTool | ||
+ | |valign="top"|class as Character, caption as Character | ||
+ | |valign="top"|Add a tool | ||
+ | |- | ||
+ | |valign="top"|RemoveTool | ||
+ | |valign="top"|existing as Object | ||
+ | |valign="top"|Remove the specified tool | ||
+ | |- | ||
+ | |valign="top"|AddObject | ||
+ | |valign="top"|existing as Object | newobject as Character, class as Character [, caption as Character] | ||
+ | |valign="top"|Add an existing object or a new object, in which case the object's class must also be specified and optionally its caption | ||
+ | |- | ||
+ | |valign="top"|RemoveObject | ||
+ | |valign="top"|existing as Object | ||
+ | |valign="top"|Remove the specified object | ||
+ | |- | ||
+ | |valign="top"|FindElementById | ||
+ | |valign="top"|id as Character | ||
+ | |valign="top"|Return a reference to the object with the specified id | ||
+ | |- | ||
+ | |valign="top"|GetElementById | ||
+ | |valign="top"|id as Character | ||
+ | |valign="top"|Return a reference to the object with the specified id | ||
+ | |- | ||
+ | |valign="top"|OpenApp | ||
+ | |valign="top"|app as Character | ||
+ | |valign="top"|Open the specified App | ||
+ | |- | ||
+ | |valign="top"|CreateApp | ||
+ | |valign="top"|app as Character | ||
+ | |valign="top"|Create the specified App | ||
+ | |- | ||
+ | |valign="top"|CloseApp | ||
+ | |valign="top"|None | ||
+ | |valign="top"|Close the currently open App | ||
+ | |- | ||
+ | |valign="top"|WriteLog | ||
+ | |valign="top"|logtext as Character | ||
+ | |valign="top"|Write the logtext string to the log | ||
+ | |- | ||
+ | |valign="top"|WriteOutput | ||
+ | |valign="top"|output as Character | ||
+ | |valign="top"|Write the output string to the Output Window | ||
+ | |- | ||
+ | |valign="top"|Console | ||
+ | |valign="top"|output as Character | ||
+ | |valign="top"|Write the output string to the Console Output Window | ||
+ | |- | ||
+ | |valign="top"|OpenDatabase | ||
+ | |valign="top"|database as Character | ||
+ | |valign="top"|Open the specified database and return a Database object reference | ||
+ | |- | ||
+ | |valign="top"|ShowDocument | ||
+ | |valign="top"|filename as Character | ||
+ | |valign="top"|Open filename using its file association on the client | ||
+ | |- | ||
+ | |valign="top"|AddPage | ||
+ | |valign="top"|id as Character, caption as Character | ||
+ | |valign="top"|Add a new Page with the specified id and caption | ||
+ | |- | ||
+ | |valign="top"|RemovePage | ||
+ | |valign="top"|id as Character | ||
+ | |valign="top"|Remove the specified Page | ||
+ | |- | ||
+ | |valign="top"|Home | ||
+ | |valign="top"|None | ||
+ | |valign="top"|Return to the App Center | ||
+ | |- | ||
+ | |valign="top"|SelectWorkspace | ||
+ | |valign="top"|workspace as Character | ||
+ | |valign="top"|Select the specified Workspace | ||
+ | |- | ||
+ | |valign="top"|ShowMessage | ||
+ | |valign="top"|message as Character | ||
+ | |valign="top"|Show the specified message | ||
+ | |- | ||
+ | |valign="top"|ShowNotification | ||
+ | |valign="top"|message as Character, wait as Boolean[, count as Numeric] | ||
+ | |valign="top"|Show the specified notification message, waiting for the user to dismiss if wait is True. Optionally specify the remaining number of notifications | ||
+ | |- | ||
|} | |} | ||
Revision as of 13:23, 3 January 2013
Properties
This class supports the Common properties plus the following:
Property | Access (R/RW) | Value | Description |
---|---|---|---|
Editor | R | Object | Return an object reference to the Editor |
Database | R | Character | Currently active database |
Table | R | Character | Currently active table |
Application | R | Character | Currently active App |
Version | R | Character | Software version |
ActivePage | RW | Object | Return an object reference to the currently active Page |
Methods
This class supports the Common methods plus the following:
Method | Args | Description |
---|---|---|
AddTool | class as Character, caption as Character | Add a tool |
RemoveTool | existing as Object | Remove the specified tool |
AddObject | existing as Object | newobject as Character, class as Character [, caption as Character] | Add an existing object or a new object, in which case the object's class must also be specified and optionally its caption |
RemoveObject | existing as Object | Remove the specified object |
FindElementById | id as Character | Return a reference to the object with the specified id |
GetElementById | id as Character | Return a reference to the object with the specified id |
OpenApp | app as Character | Open the specified App |
CreateApp | app as Character | Create the specified App |
CloseApp | None | Close the currently open App |
WriteLog | logtext as Character | Write the logtext string to the log |
WriteOutput | output as Character | Write the output string to the Output Window |
Console | output as Character | Write the output string to the Console Output Window |
OpenDatabase | database as Character | Open the specified database and return a Database object reference |
ShowDocument | filename as Character | Open filename using its file association on the client |
AddPage | id as Character, caption as Character | Add a new Page with the specified id and caption |
RemovePage | id as Character | Remove the specified Page |
Home | None | Return to the App Center |
SelectWorkspace | workspace as Character | Select the specified Workspace |
ShowMessage | message as Character | Show the specified message |
ShowNotification | message as Character, wait as Boolean[, count as Numeric] | Show the specified notification message, waiting for the user to dismiss if wait is True. Optionally specify the remaining number of notifications |
Events
This class supports the Common events plus the following:
Event | Args | Description |
---|