| **Navigation:**  [[introduction.htm|Language Reference]] > 9 -  Window and Report Attributes > Window and Report Attributes >====== COMPATIBILITY (set OLE control compatibility) ====== | [[column set list box highlight bar .htm|{{btn_prev_n.gif|Previous page}}]][[introduction.htm|{{btn_home_n.gif|Return to chapter overview}}]][[create create ole control object .htm|{{btn_next_n.gif|Next page}}]] | | || {{newc7.jpg|NewC7.jpg}} **COMPATIBILITY( **//mode//** )** {{blk2blue.jpg|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**