|
|
|
|
|
|
|
|
|
|
- Overview of OLE control
- WINDEV and OLE controls
The OLE control allows you to handle an OLE object. Reminder: OLE is a data and command exchange protocol based on the principle of nesting and linking objects.. The Client/Server connection is established as soon as the embedded object is opened. An OLE object is a file containing: - the reference of the OLE server that created the object
- the object itself (image, document...).
More technically, an OLE object corresponds to encapsulated data containing various information such as text, images, sound, and so on. The encapsulation of data in the OLE objects allows these objects to be exported without having to know their structure. To create an OLE field: - On the "Creation" tab, in the "Other controls" group, click "OLE".
- Click at the desired location to create the control.
To view the characteristics of the control, select "Description" in the context menu. WINDEV is an OLE client. The applications developed in WINDEV request the data, display and store the OLE objects. The OLE servers provide the objects to the clients that request them. These objects can be PaintBrush, Excel, WinWord... As a client, WINDEV supports the OLE objects. It is used to: - draw an object in an OLE control. An object can be an Excel worksheet, a Paint Brush graphic image...
- edit an OLE object in an OLE control. The OLE object can be:
- chosen in the editor or programmatically.
- defined according to a server or to a base file.
Remarks: - In programming, an OLE control is handled by specific functions. WINDEV is not an OLE server.
- OLE version 1 and OLE version 2 are supported (the later versions are not supported).
- An OLE object cannot be printed in WINDEV. The object is updated upon request.
- An OLE control can contain a single OLE object.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|