SET PROPERTY

SET PROPERTY...

Addition:

... NO FLUSH

Effect

Sets the property p of the object obj according to the contents of the field f.

The object obj must be of type OLE2_OBJECT.

SET PROPERTY

Example

Set the attribute 'Visible' of an EXCEL worksheet.

INCLUDE OLE2INCL. 
DATA EXCEL TYPE OLE2_OBJECT. 
CREATE OBJECT EXCEL 'Excel.Application'. 
SET PROPERTY OF EXCEL 'Visible' = 1.

Related

GET PROPERTY
CALL METHOD
CREATE OBJECT
FREE OBJECT