Clipbrd.SetClipboard

From RAD Studio VCL Reference
Jump to: navigation, search

Contents

Delphi Information

From Clipbrd.pas

	function SetClipboard(NewClipboard: TClipboard): TClipboard;


Unit: Clipbrd

Type: function

Visibility: public

C++ Information

From Clipbrd.hpp

	Clipbrd::TClipboard * __fastcall SetClipboard(Clipbrd::TClipboard * NewClipboard);


Unit: Clipbrd

Type: function

Description

Replaces the single global clipboard instance with another clipboard object.


Use SetClipboard to replace the global clipboard instance with a customized descendant of TClipboard. SetClipboard returns the currently instantiated clipboard, if any. After replacing the global clipboard instance using SetClipboard, an application must free the old clipboard that is returned.

See Also

Personal tools
Translations
Newest Version