Difference between revisions of "Lianja"
From Lianjapedia
Helen.george (Talk | contribs) |
Yvonne.milne (Talk | contribs) |
||
Line 11: | Line 11: | ||
!width="50%"|Description | !width="50%"|Description | ||
|- | |- | ||
− | |valign="top"| | + | |valign="top"|ActivePage |
− | |valign="top"| | + | |valign="top"|RW |
|valign="top"|Object | |valign="top"|Object | ||
− | |valign="top"|Return an object reference to the | + | |valign="top"|Return an object reference to the currently active Page |
+ | |- | ||
+ | |Appdir | ||
+ | |R | ||
+ | |Character | ||
+ | |Full path of the current App directory | ||
+ | |- | ||
+ | |Application | ||
+ | |R | ||
+ | |Character | ||
+ | |Currently active App | ||
|- | |- | ||
|Database | |Database | ||
Line 21: | Line 31: | ||
|Currently active database | |Currently active database | ||
|- | |- | ||
− | | | + | |Datadir |
|R | |R | ||
|Character | |Character | ||
− | | | + | |Full path of the current database directory |
|- | |- | ||
− | | | + | |valign="top"|Editor |
+ | |valign="top"|R | ||
+ | |valign="top"|Object | ||
+ | |valign="top"|Return an object reference to the Editor | ||
+ | |- | ||
+ | |Libdir | ||
|R | |R | ||
|Character | |Character | ||
− | |Currently active | + | |Full path of the current library directory |
+ | |- | ||
+ | |Table | ||
+ | |R | ||
+ | |Character | ||
+ | |Currently active table | ||
|- | |- | ||
|Version | |Version | ||
Line 35: | Line 55: | ||
|Character | |Character | ||
|Software version | |Software version | ||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
|} | |} |
Revision as of 10:26, 4 March 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 |
---|---|---|---|
ActivePage | RW | Object | Return an object reference to the currently active Page |
Appdir | R | Character | Full path of the current App directory |
Application | R | Character | Currently active App |
Database | R | Character | Currently active database |
Datadir | R | Character | Full path of the current database directory |
Editor | R | Object | Return an object reference to the Editor |
Libdir | R | Character | Full path of the current library directory |
Table | R | Character | Currently active table |
Version | R | Character | Software version |
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 |
---|