Welcome to the new DelphiDabbler Code Library Documentation.

This is a new site that's currently running on alpha code. There are going to be bugs. If you discover any, please report them on the site's issues page (GitHub account required). Thanks.

Warning: Many URLs are going to change. Refer to the README file to discover which library project's documentation has been completed.

TPJCBViewer class

Project: Clipboard Viewer Component

Unit: PJCBView

Applies to: ~>2.0

TPJCBViewer is a simple non-visual Delphi component that descends directly from TComponent.

The component notifies the user of changes to the Windows clipboard by triggering an OnClipboardChanged event.

Properties are provided to modify the behaviour of the component. They are described below.

TPJCBViewer extends TComponent as described below. For details of the methods, properties and events inherited from TComponent, see the Delphi help documentation.

Methods

TPJCBViewer defines no new methods.

Properties

Two new public properties are defined.

Property Description
Enabled Enables and disables the component.
TriggerOnCreation Causes a clipboard change event to be triggered when the component is created.

Events

TPJCBViewer defines one public event.

Event Description
OnClipboardChanged Event triggered when the clipboard contents change.