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.
Project: Clipboard Viewer Component
Unit: PJCBView
Class: TPJCBViewer
Applies to: ~>2.0
property TriggerOnCreation: Boolean;
This property controls whether a clipboard change event is triggered when the component is created.
When TriggerOnCreation is True
the OnClipboardChanged event is triggered immediately after the component is created, regardless of whether the clipboard has changed. This behaviour is useful because you often need to check the clipboard content at program start up as well as when the content changes. By using this feature you simply need to code the event handler and don’t need any special start up code.
When the property is False
the OnClipboardChanged event is only triggered when the content of the clipboard actually changes.
The default value is True
.
False
at design time. In this case no event is fired after component creation, even if TriggerOnCreation is True
.