PropertyOfScriptObject

Typeoperator
DictionaryLCB
LibraryLiveCode Builder
Syntax
property <Property> of <Object>
Associationscom.livecode.engine
Summary

The property of a script object. Set:The name of the custom property set to access

Parameters
NameTypeDescription
Property

The name of the property to manipulate

Object

An expression that evaluates to a ScriptObject.

Example
public handler OnMouseUp() returns nothing
	set property "name" of my script object to "Clicked Widget"
end handler
resolve script object "this stack"
set property "invisible" of the result to true
get property "script" of my script object
get property "customProp" of set "cMyCustomPropertySet" of my script object
Description

Use to manipulate properties of a script object.

Note: An error is thrown if the script object does not exist.

Note: An error is thrown if this syntax is used in a context where access to script objects is not allowed.

Tagsengine,script engine