天行健,君子以自强不息;地势坤,君子以厚德载物。


Tag: Text预览模式: 普通 | 列表

Get TreeView Node By Text(TreeView上查找)

 How to locate (search and select) a TreeView node given by node text using Delphi. 

Many times while developing Delphi applications using the TreeView component I've bumped into a situation to need to search for a tree node given by only the text of the node.

In this article I'll present you with one quick and easy function to get TreeView node by text.    

A Delphi example

First, we'll build a simple Delphi form containing a TreeView, a Button, CheckBox and an Edit component - leave all the default component names.

查看更多...

Tags: TreeView Node Text

分类:Delphi技巧 | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 489