|

楼主 |
发表于 2012-5-9 16:41:22
|
显示全部楼层
felipemdc
Administrator
Hero Member
Posts: 3136
Re: How to achieve the Android clipboard functionality?
« Reply #10 on: Today at 10:40:06 am »
Quote
You probably only copied 1 file. You can't just copy a new version of 1 file from the LCL like that. You need to upgrade your entire Lazarus.
By the way, now (revision: 37226) I fixed the copy issue. The following code now works for me:
procedure TForm1.Button1Click(Sender: TObject);
begin
ClipBoard.AsText:='Button1Clicked';
end;
And in other Android apps I can paste that =)
The opposite direction still doesn't work if the data comes from Android, it gets a #0 string. No idea why, but in your original post you asked for copy support anyway, not paste. |
|