Sign in Join
FPDoc Onlineexperiment

TWidgetSet.ClipboardGetOwnerShip function

Member of TWidgetSetpublicIn unit InterfaceBase

Sets the requested formats and requests ownership of the clipboard.

Declaration

pascal
function ClipboardGetOwnerShip(ClipboardType: TClipboardType; 
 OnRequestProc: TClipboardRequestEvent; 
 FormatCount: Integer; 
 Formats: PClipboardFormat): Boolean
 ; virtual

Arguments

ClipboardType

Type of clipboard type for the request.

OnRequestProc

Event signalled to get data for the clipboard, or Nil when ownership is lost.

FormatCount

Number of clipboard formats in the list.

Formats

Pointer to the list of registered clipboard formats requested.

Function result

True on success.

Description

Nothing more than the line above yet.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.