GET
Basic form 6
GET PROPERTY OF obj p = f.
Addition
... NO FLUSH
Effect
Transfers attribute p of object obj to
field f .
Object obj must be of type OLE2_OBJECT .
GET PROPERTY
Addition
... NO FLUSH
Example
Read the attribute 'Visible' of an EXCEL
worksheet.
-
INCLUDE OLE2INCL.
DATA: EXCEL TYPE OLE2_OBJECT,
VISIBLE TYPE I.
CREATE OBJECT EXCEL 'Excel.Application'.
GET PROPERTY OF EXCEL 'Visible' = VISIBLE.
Related
SET PROPERTY
CALL METHOD
CREATE OBJECT
FREE OBJECT
Index
© SAP AG 1996