摘要: 生成一棵树方法一:procedure MakeTree(Query: TQuery; TreeView: TTreeView);var List: TStringList; Node: TTreeNode; Index: Integer;begin TreeView.Items.BeginUpdate; try TreeView.Items.Clear; List := TStringList.Create; try List.Sorted := True; while not Query.Eof do begin if ... 阅读全文
posted @ 2012-07-26 12:44 delphi中间件 阅读(373) 评论(0) 推荐(0) 编辑