Sign in Join
FPDoc Onlineexperiment

TClipboard.AsText property

Member of TClipboardpublicIn unit Clipbrd

Text stored in the clipboard.

Declaration

pascal
property AsText: string read GetAsText write SetAsText;

Description

AsText is a String property with the textual data stored on the clipboard. The property value is read from an existing pcfText clipboard format. The return value is an empty string ('') if a clipboard format is not found for the MIME text type.

Changing the value for the property causes an assigned OnRequest handler to be signalled to perform the update. If OnRequest is not assigned, the Clear method to be called to clear all formats and the data is stored on the clipboard using the pcfText clipboard format.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.