- changed status to resolved
IFMXClipboardService not yet supported
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)
-
repo owner -
reporter - attached Objects-Demo-OriginalColor.jpg
-
reporter - attached Bitmap-SetToClipboard.jpg
Image has wrong colors
-
reporter Now the image is copied to the clipboard, but with wrong colors, see attached Images.
-
reporter - changed status to open
I vote for reopen the issue, because the copied Bitmap has wrong Colors in clipboard
-
repo owner - changed status to resolved
Fixed at 0.94
-
I still get Undeclared identifier when using IFMXClipboardService. Tokyo. Does the uninstaller not remove everything when upgrading to a new version?
- Log in to comment
Fixed at 0.91