Previous Topic

Next Topic

SetValue - Scripted Form Method

method SetValue(ControlName: String, Value: Variant[, SetReadOnly: Boolean])

Store a value into a previously defined control named by the parameter. The type of the value varies depending on the type of the control.

SetValue method syntax has these named arguments:

Parameter

Description

Control Name

Required. Name of the control. Must be a valid MaxBasic identifier.

Value

Required. Value to store into the control.

Set Read Only

Optional. If True, the value is read-only. Defaults to False.

See Also

ScriptedForm Object

Book Contents

Book Index