Clipboard.hasformat (CF_Bitmap) not supported

Issue #201 new
Harry Stahl created an issue

None of this seems to be supported:

if Clipboard.HasFormat(CF_BITMAP) or (Clipboard.Hasformat (CF_MetaFilePICT)) or (Clipboard.Hasformat (CF_PALETTE))
or Clipboard.hasformat (CF_GIF)

Comments (2)

  1. Harry Stahl reporter

    Yes, the assigning works.

    At the moment I use a wrkaround, but thats not perfect:

    if (Clipboard.HasFormat(CF_BITMAP)) or (Clipboard.hasformat (CF_MetaFilePict))
    or (clipboard.hasformat (CF_GIF))

    {$IFNDEF MSWindows}
    or (Clipboard.AsText = '')
    {$ENDIF}
    
  2. Log in to comment