Skip to main content
Table of Contents

TTMSFNCClipBoard.SetValues Method

Writes multiple values to the clipboard simultaneously using the specified format identifiers.

API unit family: TMSFNCUtils Declaring type: TTMSFNCClipBoard

Overloads

Overload 1

Writes multiple values to the clipboard simultaneously using the specified format identifiers.

FMX.TMSFNCUtils.hppPascalC++
class procedure SetValues(AValues: TArray<TValue>; AFormats: TArray<Cardinal>); virtual;
__classmethod virtual void __fastcall SetValues(System::DynamicArray<System::Rtti::TValue> AValues, System::DynamicArray<unsigned> AFormats);

Parameters

Name Description
AValues Array of values to write, one per format.
AFormats Array of Windows clipboard format identifiers, parallel to AValues.

Overload 2

Writes multiple values to the clipboard simultaneously using the specified named format strings.

FMX.TMSFNCUtils.hppPascalC++
class procedure SetValues(AValues: TArray<TValue>; AFormats: TArray<String>); virtual;
__classmethod virtual void __fastcall SetValues(System::DynamicArray<System::Rtti::TValue> AValues, System::DynamicArray<unsigned> AFormats);

Parameters

Name Description
AValues Array of values to write, one per format.
AFormats Array of platform clipboard format names, parallel to AValues.