Vcl.Clipbrd.Clipboard

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function Clipboard: TClipboard;

C++

extern DELPHI_PACKAGE TClipboard* __fastcall Clipboard(void);

Properties

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

Description

Returns an instance of TClipboard.

Applications use a single instance of TClipboard for interacting with the system clipboard. If the application has never used the clipboard, calling Clipboard creates a new instance of TClipboard. If the clipboard has already been used, Clipboard returns the previously created TClipboard object.

To use Clipboard and the TClipboard object, add the appropriate unit to the uses clause (Delphi) or include it in the source module (C++).

See Also


Code Examples