RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Clipbrd.SetClipboard Function

Replaces the single global clipboard instance with another clipboard object.

Pascal
function SetClipboard(NewClipboard: TClipboard): TClipboard;
C++
TClipboard SetClipboard(TClipboard NewClipboard);

Clipbrd

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) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!