回答=查找Directory hierarchy in tree control.vi例程,打开init_open_close子vi内的Directory to tree子vi内的add Item.vi。使用该属性节点进行添加删除操作。重点在于parent tag端口的使用。如果添加的为最上层条目,则parent tag为空字符串。如果是子层条目,则parent必须为上一层条目的tag。
关注:116
2014-01-19 12:41
如何动态添加tree控件内条目?![]() ![]() |