User Tools

Site Tools


link_create_ole_control_link_to_object_from_file_.htm
Navigation:  Language Reference > 9 -  Window and Report Attributes > Window and Report Attributes >====== LINK (create OLE control link to object from file) ====== Previous pageReturn to chapter overviewNext page

NewC7.jpg

LINK( filename )

blk2blue.jpg

LINK Specifies creating a link to an object for the OLE control from a data file specific to an OLE server application.
filename A string constant containing the name of the file.

The LINK attribute (PROP:LINK, write-only) specifies creating a link to an object for the OLE control from a data file specific to an OLE server application. The filename parameter syntax must be a fully-qualified pathname, unless the file exists in the same directory as the OLE Controller application.

Example:

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

    OLE,AT(10,10,160,100),USE(?OLEObject),LINK('Book1.XLS')  !Excel Spreadsheet

     MENUBAR

      MENU('&Clarion App')

       ITEM('&Deactivate Object'),USE(?DeactOLE)

      END

     END

    END

   END

link_create_ole_control_link_to_object_from_file_.htm.txt · Last modified: 2021/04/15 15:57 (external edit)