CnPack Forum


 
Subject: TCnCheckTreeView 是干什么用的
ccceee
新警察
Rank: 1



UID 816
Digest Posts 1
Credits 24
Posts 14
点点分 24
Reading Access 10
Registered 2005-5-3
Status Offline
Post at 2005-5-22 00:17  Profile | Blog | P.M. 
TCnCheckTreeView 是干什么用的

有什么不同吗?
Top
KingStar
新警察
Rank: 1



UID 640
Digest Posts 0
Credits 3
Posts 3
点点分 3
Reading Access 10
Registered 2005-1-11
Status Offline
Post at 2005-5-29 17:01  Profile | Blog | P.M. 
就是TreeView的每个元素前在显示时带有一个CheckBox。
Top
sun_ssy
新警察
Rank: 1



UID 5324
Digest Posts 0
Credits 1
Posts 1
点点分 1
Reading Access 10
Registered 2007-2-3
Location 山东
Status Offline
Post at 2007-2-3 16:09  Profile | Blog | P.M.  | QQ
请问当选择了多个节点时,怎么把选择的信息取出来?
Top
Passion (LiuXiao)
管理员
Rank: 9Rank: 9Rank: 9


UID 359
Digest Posts 19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
Post at 2007-2-3 18:06  Profile | Blog | P.M. 
看看TreeNode有无Selected属性?
Top
fuguoshui
新警察
Rank: 1



UID 7478
Digest Posts 0
Credits 12
Posts 12
点点分 12
Reading Access 10
Registered 2007-3-14
Status Offline
Post at 2007-3-14 14:00  Profile | Blog | P.M. 
关注

关注
Top
beta
新警察
Rank: 1



UID 348
Digest Posts 0
Credits 13
Posts 9
点点分 13
Reading Access 10
Registered 2004-3-23
Status Offline
Post at 2007-5-22 17:13  Profile | Site | Blog | P.M. 


procedure Walk;
var
  Node: TTreeNode;
begin
  Node := ATree.Items.GetFirstNode;
  while Node <> nil do
  begin
    if ATree.Checked[Node] then
      // Node 被选中

    Node := Node.GetNext;
  end;
end;

[ 本帖最后由 beta 于 2007-5-22 17:16 编辑 ]
Top
yzdbs
新警察
Rank: 1


UID 547
Digest Posts 0
Credits 36
Posts 31
点点分 36
Reading Access 10
Registered 2004-10-29
Location 北京
Status Offline
Post at 2007-5-28 21:54  Profile | Site | Blog | P.M.  | QQ
Beta还活着,还在千那里否?




暂时没有呐。。。...
Top
beta
新警察
Rank: 1



UID 348
Digest Posts 0
Credits 13
Posts 9
点点分 13
Reading Access 10
Registered 2004-3-23
Status Offline
Post at 2007-8-8 17:57  Profile | Site | Blog | P.M. 
活在原地 :)
Top
 




All times are GMT++8, the time now is 2024-11-22 12:41

    本论坛支付平台由支付宝提供
携手打造安全诚信的交易社区 Powered by Discuz! 5.0.0  © 2001-2006 Comsenz Inc.
Processed in 0.009322 second(s), 9 queries , Gzip enabled

Clear Cookies - Contact Us - CnPack Website - Archiver - WAP