open_open_ole_control_object_from_file_.htm
Navigation: Language Reference > 9 - Window and Report Attributes > Window and Report Attributes >====== OPEN (open OLE control object from file) ====== | |
OPEN( object )
OPEN | Specifies opening a saved object for the OLE control from an OLE Compound Storage file. |
object | A string constant containing the name of the OLE Compound Storage file and the object within it to open. |
The OPEN attribute (PROP:OPEN, write-only) specifies opening a saved object for the OLE control from an OLE Compound Storage file. When the object is opened, the saved version of the container properties are reloaded, so properties do not need to be specified on an object opened. The object parameter syntax must take the form: Filename\!ObjectName.
Example:
WinOne WINDOW,AT(0,0,200,200)
OLE,AT(10,10,160,100),USE(?OLEObject),OPEN('SavFile.OLE\!MyObject')
MENUBAR
MENU('&Clarion App')
ITEM('&Deactivate Object'),USE(?DeactOLE)
END
END
END
END
open_open_ole_control_object_from_file_.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1