Try OpenEdge Now
skip to main content
ABL Reference
Handle Attributes and Methods Reference : Property write
 

Property write

The following syntax describes a basic assignment (=) statement for writing a COM object property:

Syntax

Com-Handle-Var :COMProperty [ AS Data-type ] = expression
 [ NO-ERROR ]
Com-Handle-Var is any COM-HANDLE variable set to the handle of an instantiated COM object. COMProperty is a COM object property access (see COMProperty). Data-type is any supported COM data type (see Data-type) that is compatible with expression. The expression is any combination of ABL elements that results in a single value. NO-ERROR allows the application to handle any ABL ERROR conditions raised by the statement.