User Tools

Site Tools


compatibility_set_ole_control_compatibility_.htm
Navigation:  Language Reference > 9 -  Window and Report Attributes > Window and Report Attributes >====== COMPATIBILITY (set OLE control compatibility) ====== Previous pageReturn to chapter overviewNext page

NewC7.jpg

COMPATIBILITY( mode )

blk2blue.jpg

COMPATIBILITY Specifies OLE control compatibility setting.
mode An integer constant for the compatibility setting.

The COMPATIBILITY attribute (PROP:COMPATIBILITY, write-only) specifies a compatibility mode for certain OLE or .OCX objects that require it. The mode should in general be zero (0), however some OLE objects (like Windows bitmap editor) do not work unless it is set to one (1).

Example:

WinOne WINDOW,AT(0,0,200,200)

       OLE,AT(10,10,160,100),USE(?OLEObject),CREATE('Excel.Sheet.5'),COMPATIBILITY(0)

       END

      END

compatibility_set_ole_control_compatibility_.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1