- 2
- 0
- 约8.94千字
- 约 7页
- 2023-03-12 发布于湖北
- 举报
delphi
delphi TreeView 详解
property AutoExpand: Boolean;
AutoExpand
BorderStyle
Set AutoExpand to true to cause the selected item to expand and the unselected items to collapse.
property BorderStyle: TBorderStyleTBorderStyle;
Set BorderStyle to specify whether the tree view control should be outlined with a single-line border. These are the possible values:
Value Meaning
bsNone No visible border
bsSingle Single-line border property Canvas: TCanvas;
Canvas
ChangeDelay
DropTarget
Use the Canvas property to paint to the canvas from the OnCustomDraw and OnCustomDrawItem event handlers. property ChangeDelay: Integer;
Use ChangeDelay to get or set the delay, in milliseconds, between when a node is selected and when the OnChange event occurs.
Set the ChangeDelay to 50 milliseconds to emulate the behavior of the tree-view control used in Windows Explorer. property DropTarget: TTreeNode;
Read DropTarget to determine whether a node in the tree view is drawn as the target of a drag and drop operation. Set DropTarget when specifying a particular node in the tree view as the drop target of a dragged item.
Note: When DropTarget is set, the application must still handle
the actual logic of accepting the dragged object by the indicated node.
property HideSelection: Boolean;
Use HideSelection to specify whether the user is given visual HideSelection feedback about the current selection in the tree view when it does not have focus. If true, the selected node is not visually
distinct from other nodes until focus returns to the control. If false, the node always appears selected.
property HotTrack: Boolean;
HotTrack Set HotTrack to true to provide visual feedback about which item is under the mouse. Set HotTrack to false to suppress the visual feedback about which item is under the mouse.
property Images: TCustomImageList;
Images
Use Images to provide a customized list of bitmaps that can be displayed to the left of a node’s label. Individual nodes specify the image from this list
您可能关注的文档
最近下载
- 年产420吨锆废料回收项目可行性研究报告.docx
- 2025年加州驾照常考题库及答案.doc VIP
- 《现代汉语(下册语法部分)》PPT课件.ppt VIP
- 无人机测绘技术(微课版)03无人机测绘数据采集.pptx VIP
- 2025年房地产经纪人继承房产涉及的贷款问题处理专题试卷及解析.pdf VIP
- 2026年高考第一次模拟考试:地理一模突破卷02(新高考全国通用)(考试版).docx VIP
- 2025年互联网营销师绿色营销风险识别与管理专题试卷及解析.pdf VIP
- 2025年项目管理专业国际成本补偿合同汇率风险管理专题试卷及解析.pdf VIP
- 2025年拍卖师着装中的色彩搭配技巧与禁忌专题试卷及解析.pdf VIP
- 2025年无人机驾驶员执照敏感区域(如核设施)空域管控专题试卷及解析.pdf VIP
原创力文档

文档评论(0)