oi10:presentation_server:formatlist_property_clipboard

FORMATLIST property (Clipboard)

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

An @Fm-delimited list of format names.

DevelopmentRuntimeIndexedScaledSynthetic
N/AGet OnlyNoNoNo

N/A

 
// 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
 
 
 

TEXT property, GETDATA method, SETDATA method

  • oi10/presentation_server/formatlist_property_clipboard.txt
  • Last modified: 2023/10/25 10:49
  • by 127.0.0.1