Difference between revisions of "Lianja"
From Lianjapedia
Yvonne.milne (Talk | contribs) |
Yvonne.milne (Talk | contribs) |
||
Line 43: | Line 43: | ||
====Methods==== | ====Methods==== | ||
− | This class supports the | + | This class supports the [[:Category:Common_Methods|Common Methods]] plus the following: |
{| class="wikitable" | {| class="wikitable" |
Revision as of 13:09, 8 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 |
---|