dear experts,
I created a TAdvListView with ClipBoardEnable set to true,
I want now to copy to the clipboard the content of this TAdvListView, by using CTRL+C and then I do a CTRL+V in one editor like NOTEPAD to paste there the contents of the TAdvListView.
Unfortunately this does not seem to work (I tried CTRL+A and CTRL+C as well and it failed).
On the other hand, if I select one given item from the List, it works fine
So does TAdvListView implement somme approach such that if the hits CTRL+C in the TAdvListView window, then all items are copied to the clipboard?
One can of course find other solutions like the one suggested here: http://delphi.about.com/od/adptips2004/a/bltip0804_4.htm
But does TAdvListView implement some approach to do that ?
In advance, thanks for your valuable help.
Nabil Ghodbane.
I cannot see a problem here.
This was tested with a default TAdvListView on the form initialized with:
procedure TForm5.Button1Click(Sender: TObject);
begin
advlistview1.Testfill;
advlistview1.ClipboardEnable := true;
advlistview1.MultiSelect := true;
advlistview1.RowSelect := true;
end;
When selecting all rows and copy to the clipboard, this is pasted as:
0 s1 s2
1 s1 s2
2 s1 s2
3 s1 s2
4 s1 s2
5 s1 s2
6 s1 s2
7 s1 s2
8 s1 s2
9 s1 s2