当前位置:主页>销售管理软件> 列表

求一个VirtualTreeview的实例 找什么财务软件好

仓库管理软件版1楼: 如题目,急!在线等待。可加QQ:39913823传送

2楼: 马上结贴!!! 如什么财务软件好

3楼: PFileInfo = ^TFileInfo;
TFileInfo = packed record
t_ID : int64;
t_NameID : string;
t_Size : int64;
end;
在show()事件中定义
MYVST.NodeDataSize := sizeof(TFileInfo);
在增加button中
var
Node : PVirtualNode;
Data : PFileInfo;
begin
Node := MyVST.AddChild(nil);
Data := MyVST.GetNodeData(Node);
Data.t_ID := 1;
Data.t_name := ''file 1'';
Data.t_Size := 1000;
end;
在myVST的GetText事件中
VAR
Data: PFileInfo;
begin
Data := Sender.GetNodeData(Node);
if Assigned(Data) then
begin
case Column of
0: CellText := inttostr(Data.t_id);
1: CellText := Data.t_name;
2: CellText := inttostr(Data.t_id);
end;
end;
end;

4楼: to:SmallGhost
不行呀,Column总是等于-1

5楼: 我要得到以下结构,点击节点得出存储在节点上的数值

根目录
|
——子目录
|
——子目录
|
——子目录

6楼: 昨晚弄了一晚上,没整明白,各位快救救我吧

仓库管理软件版7楼: 自己解决了,谢谢SmallGhost的热情帮助

8楼: Over