Post details: Delphi中TTreeView.TopItem 的用法

Delphi中TTreeView.TopItem 的用法
Category: delphi

如果动态创建树的节点,一般树的滚动条就停留在下边了,那是因为创建节点的时候,焦点自动移到新创建的节点上,如果显示不下,他回显示焦点及以上的节点,在Delphi中树(TTreeView)有个TopItem属性来表示从哪个节点开始显示。
Delphi中帮助描述:
Specifies the topmost node that appears in the tree view.

property TopItem: TTreeNode;

Description

When TopItem is changed, the tree view scrolls vertically so that the specified node is topmost in the list view.

38 Words • 124 views • 07-07-13 • 18:17:06• 高 玉昆 Email Permalink

Comments:

No Comments for this post yet...

高玉昆

September 2010
Mon Tue Wed Thu Fri Sat Sun
<< <     
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30      

Search

Categories

Linkblog

公益网站

Misc

Syndicate this blog XML

What is RSS?

Who's Online?

Guest Users: 13

powered by
b2evolution