OleControl Methods
The methods defined in the OleControl class are summarized in the following table.
| Method | Description |
|---|---|
| applyVerb | Calls the application with the specified verb |
| cloneSelf | Creates a new instance of the same type as the receiver |
| close | Closes the presentation of the object |
| discard | Closes and discards the OLE object presentation |
| embedFromClass | Initiates the specified server application to create or attach a new OLE object |
| embedFromFile | Embeds an OLE object from the specified file into a control |
| getUserName | Returns the OLE internal names for the object |
| isObjectOpen | Determines whether the OLE server application has the object open for editing |
| linkFromFile | Links to an OLE object based on the specified file |
| loadFromDB | Loads the control from its oleObject property |
| objectType | Returns the loaded object type |
| showInsertForm | Enables the user to select the OLE object to be loaded into the control |
| update | Updates the OLE object |
For details, see "Window, Form, and Control Methods", later in this document.
