Show: Delphi C++
Display Preferences

Vcl.Clipbrd.TClipboard

From RAD Studio API Documentation
Jump to: navigation, search

System.Classes.TPersistentSystem.TObjectTClipboard

Delphi

TClipboard = class(TPersistent)

C++

class PASCALIMPLEMENTATION TClipboard : public System::Classes::TPersistent

Properties

Type Visibility Source Unit Parent
class public
Vcl.Clipbrd.pas
Vcl.Clipbrd.hpp
Vcl.Clipbrd Vcl.Clipbrd

Description

TClipboard represents the system clipboard.

TClipboard is a wrapper for the system clipboard, which contains information that has been cut or copied from an application.

Do not instantiate separate TClipboard objects by calling the constructor. Instead, use the global instance of TClipboard returned by the Clipboard function. This allows applications to share a single instance of TClipboard and safeguards against accidental deletion of the clipboard.

Before calling Clipboard, your application must include the Clipbrd unit. That is, in Delphi, the uses clause must include Clipbrd and in C++ you must have an include statement for Clipbrd.hpp.

TClipboard's properties provide information about the formats that the clipboard is registered to handle.

TClipboard's methods:

  • store and retrieve data in appropriate formats.
  • open and close the clipboard, maintaining a reference count.
  • manage formats for objects in the clipboard.

See Also

Personal tools
In Other Languages
Previous Versions
Assistance