ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / OLE functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
OLECopy (Function)
In french: OLECopie
Copies the object found in an OLE control into the Windows clipboard.
Example
// Create a Paint Brush object
OLECreateEmpty(OLE_OLE1, "PBrush")
// The object is copied into the clipboard
OLECopy(OLE_OLE1)
// The object is pasted and saved in another control
OLEPaste(OLE_OLE2)
OLESave(OLE_OLE2, "OBJECT.OLE")
Syntax
<Result> = OLECopy(<OLE control>)
<Result>: Boolean
  • True if the object was copied,
  • False otherwise.
<OLE control>: Control name
Name of the OLE control that contains the OLE object to copy. If this parameter corresponds to an empty string (""), the control used will be the control to which the current event belongs.
Remarks
  • Only OLE version 1 is supported.
  • The content of the clipboard is overwritten. The clipboard content can be in text, graphic or binary format.
Component: wd290ole.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help