method SetPropertyValue(PropertyName: String, Value: Variant)
This sets the value of the property or MaxBasic variable named in PropertyName to the Value.
SetPropertyValue method syntax has these named arguments:
Parameter |
Description |
|---|---|
Property Name |
Required. Name of the Property to set the value for. |
Value |
Required. The value to set Property Name to. |
For example:
Builder.Fields.Item(0).SetPropertyValue("ReadOnly", true)
will set the value of the ReadOnly property to True.
See also the Scripted Form SetPropertyValue method and the Memory Table SetPropertyValue method.