DragonRAD Lua Object Hierarchy
Lua Global Objects
client (base DragonRAD module, see client module )
apps (Application ) - an array of Application ndexed by name, see clientevent.app below)
clientapps (Array of Application )
color - a module providing standard web color names
Lua clientevent object
clientevent is an object containing context for the current event, available in all events - some properties may be nil depending on the context of the event.
clientevent -
app (Application ) - the active application)
tables (Array of Table indexed by tablename )
rows (Array of TableRow indexed by pkvalue or index
forms (Array of Form index by form id)
fields (Array of Field and/or Grid , indexed by id)
cancel - boolean - sets the cancel flag which will allow or disallow the action list from continuing
callInfo (CallInfo ) Returns info about the current call. Ths will only be set on an incoming call
tablerow - TableRow - returns the current table row
dataTable - Table - in the Synch Completed event, the table for which this event occurred)
field (Field ) - current selected field, if any
form (Form the active form, if any
grid Grid - current selected grid, if any
gridrow (GridRow ) - selected row in the active grid, if any
onload (boolean) returns if this script is an onload script of a form
name (String) the name of the running script
print(String) prints some text to the html window (Html event)
ruleName (String) get the current synch rule name in the SynchCompleted event
synchResult (SynchResult ) - for Synch Completed event only: an object containing the records updated and deleted)
table (Form ) - table of active form
Please
Log In to add a comment