Previous Topic

Next Topic

SetPropertyValue - Method

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:

  btnButton1.SetPropertyValue("Caption", "Click")

will set the caption of button component btnButton1 to Click.

See Also

Form Designer Component Methods

Book Contents

Book Index