Skip to main content
Table of Contents

TTMSFNCClipBoard.SetValue Method

Writes a single value to the clipboard using the specified Windows format identifier.

API unit family: TMSFNCUtils Declaring type: TTMSFNCClipBoard

Overloads

Overload 1

Writes a single value to the clipboard using the specified Windows format identifier.

FMX.TMSFNCUtils.hppPascalC++
class procedure SetValue(AValue: TValue; AFormat: Cardinal); virtual;
__classmethod virtual void __fastcall SetValue(const System::Rtti::TValue &AValue, unsigned AFormat);

Parameters

Name Description
AValue The value to write to the clipboard.
AFormat The Windows clipboard format identifier for the data.

Overload 2

Writes a single value to the clipboard using the specified named format string.

FMX.TMSFNCUtils.hppPascalC++
class procedure SetValue(AValue: TValue; AFormat: String); virtual;
__classmethod virtual void __fastcall SetValue(const System::Rtti::TValue &AValue, unsigned AFormat);

Parameters

Name Description
AValue The value to write to the clipboard.
AFormat The platform clipboard format name for the data.