有没有研究过fmx的剪贴板
delphi吧
全部回复
仅看楼主
level 13
Y-A-K-E 楼主
memo2.CopyToClipboard;
无效...
2014年08月30日 10点08分 1
level 1
uses FMX.Platform //添加单元
var
Clipboard:IFMXClipboardService;//剪贴板变量
//内容写入剪贴板:
if TPlatformServices.Current.SupportsPlatformService(IFMXClipboardService,IInterface(Clipboard)) then begin Clipboard.SetClipboard(memo1.Text); end;
//读取剪贴板内容: if TPlatformServices.Current.SupportsPlatformService(IFMXClipboardService,IInterface(Clipboard)) then begin memo1.Text:=''; memo1.Text:=Clipboard.GetClipboard.AsString; //读取字符串内容 end;
2015年10月29日 03点10分 2
奇怪 格式变得这么乱
2015年10月29日 03点10分
1