Table of Contents

FORMATLIST property (Clipboard)

Description

Returns a list of available formats for the data currently held on the clipboard.

Property Value

An @Fm-delimited list of format names.

Property Traits

DevelopmentRuntimeIndexedScaledSynthetic
N/AGet OnlyNoNoNo

Remarks

N/A

Example

 
// FORMATLIST property example

   //

   // Copy the contents of an EditLine control onto the clipboard

   // and then examine the formats that have been set.

   

   // Select all the text

   Call Set_Property( @Window : ".EDITLINE_1", "SELECTION", 1 : @fm : 0xFFFF )

   

   // Copy it to the clipboard

   Call Exec_Method( @Window : ".EDITLINE_1", "COPY" )

   

   // Now get the list

   FormatList = Get_Property( "CLIPBOARD", "FORMATLIST" )

   

   // FormatList contains:

   //

   // <1> CF_UNICODETEXT

   // <2> CF_LOCALE

   // <3> CF_TEXT

   // <4> CF_OEMTEXT
 
 
 

See Also

TEXT property, GETDATA method, SETDATA method