PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
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 : wd240ole.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment