Sign in Join
FPDoc Onlineexperiment

Clipbrd unit

Definitions for the Clipboard to hold Cut or Copied data for Pasting.

clipbrd.pp contains classes, types, and routines used to implement TClipboard. TClipboard encapsulates the system clipboard for supported platforms. clipbrd.pp is part of the Lazarus Component Library ( LCL).

Classes and records

TClipboardclassRepresents the clipboard on platforms supported for the LCL.
TClipboardDatarecordRecord type with the format identifier and data for cached clipboard content.

Procedures and functions

CF_BitmapfunctionGets the pre-defined clipboard format used for bitmap images.
CF_ComponentfunctionGets the pre-defined clipboard format used for the LCL Component type.
CF_HTMLfunctionGets the pre-defined clipboard format used for HTML content.
CF_MetaFilePictfunctionGets the pre-defined clipboard format used for the LCL Meta-File Picture type.
CF_ObjectfunctionGets the pre-defined clipboard format used for the LCL Object type.
CF_PicturefunctionGets the pre-defined clipboard format used for the LCL Picture type.
CF_TextfunctionGets the pre-defined clipboard format used for plain text.
ClipboardfunctionClipboard the function called to access the clipboard with an optional type specifier.
FreeAllClipboardsprocedureFreeAllClipboards - frees all existing clipboards, releasing their resources.
PrimarySelectionfunctionPrimarySelection - the first selection if multiple clipboards exist.
RegisterClipboardFormatfunctionRegisterClipboardFormat add the supplied format name to the register of clipboard formats.
SecondarySelectionfunctionSecondarySelection - the second selection if multiple clipboards exist.
SetClipboardfunctionSetClipboard - sets up and returns a NewClipboard, with an optional type specifier.

Uses

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.