IFMXClipboardService not yet supported

Issue #30 resolved
Harry Stahl created an issue

This works on Windows and MAC, but not on Linux. Makescreenshot works, but no IFMXClipboardservice is available, so the Image can't put into the clipboard.

procedure TF_Main.Button5Click(Sender: TObject); var bm: TBitmap; Clipboard: IFMXClipboardService; begin bm := TBitmap.Create; bm := Viewport3D1.MakeScreenshot;

if TPlatformServices.Current.SupportsPlatformService(IFMXClipboardService, IInterface(Clipboard)) then begin Clipboard.SetClipboard(bm); end; bm.free; end;

Comments (7)

  1. Harry Stahl reporter
    • changed status to open

    I vote for reopen the issue, because the copied Bitmap has wrong Colors in clipboard

  2. Holger Flick

    I still get Undeclared identifier when using IFMXClipboardService. Tokyo. Does the uninstaller not remove everything when upgrading to a new version?

  3. Log in to comment