RAD Studio VCL Reference
Clipbrd.SetClipboard Function

Replaces the single global clipboard instance with another clipboard object.

function SetClipboard(NewClipboard: TClipboard): TClipboard;
TClipboard SetClipboard(TClipboard NewClipboard);

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. 


Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!