XojoScript.Context

From Xojo Documentation
Jump to: navigation, search
Property (As Object)
aXojoScript.Context = newObjectValue
or
ObjectValue = aXojoScript.Context

The object (e.g., window or class) that is made available to the XojoScript. The object's methods and properties become global methods and properties available to the script.

Notes

You cannot pass any objects between the context and the script. This includes, for example, dates, variants and arrays. Any methods or properties that use objects will not be allowed within the script.

For example, you can create a custom class and assign it to the Context property. The script would then have access to the methods and properties of this class. The methods become global methods and the properties become global properties.

Personal tools
Namespaces

Variants
Actions
Main
Content
Starting Out
Dig Deeper
More Help
Toolbox
About