ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / Developing an application or website / Controls, windows and pages / Controls: Available types / OLE control
  • Overview of OLE control
  • WINDEV and OLE controls
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Overview of OLE control
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:
  1. On the "Creation" tab, in the "Other controls" group, click "OLE".
  2. Click at the desired location to create the control.
To view the characteristics of the control, select "Description" in the context menu.
WINDEV and OLE controls
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.
Minimum version required
  • Version 9
Comments
Click [Add] to post a comment

Last update: 10/01/2024

Send a report | Local help