ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Windows functions / Clipboard 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
Identifies the format of information found in the clipboard.
Example
IF ClipboardFormat(cfText) = True THEN
BTN_Paste.State = Active
ELSE
BTN_Paste.State = Grayed
END
Syntax
<Result> = ClipboardFormat(<Sought Format>)
<Result>: Boolean
  • True if the requested format is available,
  • False otherwise.
<Sought Format>: Integer constant
Format found in the clipboard:
cfBitmapImage format
cfRtfRTF format
cfTextText format
cfUnicodeTextUnicode text format.
Remarks
  • Reading the clipboard:
    • Clipboard reads the text or image information of the Windows clipboard.
    • ClipboardRTF reads the RTF text information found in the Windows clipboard (the clipboard content is in RTF).
    • ClipboardUnicode reads the Unicode text information of the clipboard.
  • ToClipboard writes to the clipboard. ToClipboardRTF writes RTF text to the clipboard.
Component: wd290std.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