Python3Script Xojo Plugin

Python3Instance.ObjectField Method

Gets or sets a object field on the class instance.

ObjectField(
   name as String) as Object

ObjectField(
   name as String
   assigns value as Object)

Parameters

name
Name of the field to set.
value (assignment parameter)
The value to set or get

Returns

Object

Remarks

The field does not have to exist on the class. If it does not exist then its added when the setter is called.

Object fields store Xojo objects inside Python instances or variables.

See Also

Python3Instance Class