I
ie
Unregistered / Unconfirmed
GUEST, unregistred user!
实在不知道怎么使用Virtual Treeview(www.delphi-gems.com网站的,据说很好用,可是和listview使用的方式太不一样了),谁能给点提示!!!(50分)<br />我有一个记录:
type fileinfo = packed record
filename : string;
size : int64;
end;
var
g_fileinfo : array of fileinfo;
g_fileinfoQuan : integer;
我先给g_fileinfo赋值:
g_fileinfoQuan := 2;
setlength(g_fileinfo, g_fileinfoQuan);
g_fileinfo[0].filename := 'c:/tmp1.zip';
g_fileinfo[0].size := 1024;
g_fileinfo[1].filename := 'c:/tmp2.zip';
g_fileinfo[1].size := 2048;
我现在想将这两条记录显示到Virtual Treeview中,可是我要如何做呢,试了半天就是不行,
请哪位做过的大侠帮个忙,急啊!!!
type fileinfo = packed record
filename : string;
size : int64;
end;
var
g_fileinfo : array of fileinfo;
g_fileinfoQuan : integer;
我先给g_fileinfo赋值:
g_fileinfoQuan := 2;
setlength(g_fileinfo, g_fileinfoQuan);
g_fileinfo[0].filename := 'c:/tmp1.zip';
g_fileinfo[0].size := 1024;
g_fileinfo[1].filename := 'c:/tmp2.zip';
g_fileinfo[1].size := 2048;
我现在想将这两条记录显示到Virtual Treeview中,可是我要如何做呢,试了半天就是不行,
请哪位做过的大侠帮个忙,急啊!!!