Show: Delphi C++
Display Preferences

Vcl.Clipbrd.TClipboard.Open

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Open; virtual;

C++

virtual void __fastcall Open();

Properties

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

Description

Opens the clipboard, preventing other applications from changing its contents until the clipboard is closed.

Call Open before adding a series of items to the clipboard. This prevents other applications from overwriting the clipboard until it is closed. (When adding a single item to the clipboard, there is no need to call Open.)

When an application has finished adding items to the clipboard, it should call the Close method. The clipboard can be opened with multiple calls to the Open method before being closed. Open and Close maintain a count of the number of times the clipboard has been opened and will not close it until Close has been called the same number of times.

See Also

Code Examples


Personal tools
In Other Languages
Previous Versions
Assistance