Setting a Property Value

 

 

Purpose

To change the value of a property

Syntax

ObjectReference.PropertyName = Value

Operation

ObjectReference is the tag name for the field, format, cycle, session, application, or client object. It cannot be a variable and it is case sensitive.

PropertyName is the predefined name of a property. It cannot be a variable and it is not case sensitive.

Value is either a string or numeric literal, variable, or property statement depending on the property. You can use TRUE or FALSE instead of 0 or 1 if you wish.

Remarks

Various properties apply to different objects types. Some examples are Forecolor, Backcolor, Aboutbox, and Enable. For more information see the property descriptions and the valid properties for each object type.

Example

CustName.FOREcolor = ‘BLUE’

EOD.graphic = $BMPname

CustAddress.ForeColor = CustName.Forecolor

 

Comment on this topic

Topic ID: 510102