Skip over navigation

Clipboard Viewer Component

Component that reports clipboard changes

Version 2.0.0
Released 2014-08-10
Platforms Win32 & Win64
Framework VCL
Compatibilty Delphi 7 and later


TPJCBView is a non-visual Delphi component that notifies the user whenever the content of the clipboard changes.

Notification is by means of an event. By handling the event your application can respond to changes on the clipboard. The component can be used as the heart of a program that displays "live" information about the clipboard. Alternatively it can be used to enable and disable other components whose state depends on the available clipboard formats.

TPJCBView provides an Enabled property that is used to enable and disable the component and hence it's events. It also has a TriggerOnCreation property that triggers an event when the control is created.

A demo program with an associated explanatory read-me file is included in the download. The demo enables and disables a button depending on whether the clipboard contains text. It can also display clipboard text in a memo.

Get The Code

You can download the latest version of the Clipboard Viewer Component directly from SourceForge as

Download v2.0.0

The Clipboard Viewer Component source code is hosted in the ddablib/cbview GitHub repository. You can git clone or fork the repository as required.


The Clipboard Viewer Component and its its associated files are supplied in a zip file. Before installing you need to extract all the files from the zip file, preserving the directory structure. The following files will be extracted:

  • PJCBView.pas – component source code.
  • PJCBView.dcr – component palette glyph.
  • ReadMe.htm – read-me file.
  • ChangeLog.txt – project's change log.
  • MPL-2.txt – the Mozilla Public License v2.0.
  • Documentation.URL – short-cut to the unit's online documentation.

In addition to the above files you will find the source code of the demo project in the Demo sub-directory.

You may now install the component into the Delphi IDE. To do this, the files PJCBView.pas and PJCBView.dcr should be added to a design time package. If you need help doing this see here.


The Clipboad Viewer Component is comprehensively documented online here

The project's change log can be viewed here.

A read-me file (ReadMe.htm) is included in the project download.

Feedback & Queries

If you find any bugs or want to suggest a new feature please report them using the Clipboard Viewer Component issue tracker.

If you have created a bug fix or have implemented a new feature please open a pull request for it.

Should you have any queries about using the component please read the documentation. If you can't find an answer in the documentation then post a message in the discussion group.


The Clipboard Viewer Component is open source. It is copyright © 1999-2014 by Peter Johnson. The source code is made available under the terms of the Mozilla Public License v2.0. All relevant trademarks are acknowledged.