ExpTree刷新节点 [英] ExpTree refresh nodes
问题描述
我一直在使用你精彩的控件Exptree。
但是当我创建文件夹时,我遇到了处理节点刷新问题。
如果我选择一个节点,然后使用我的应用程序中的代码在该节点内创建一个文件夹。
例如,如果我使用此代码在所选节点下创建一个文件夹
如果不是Directory.Exists(sPacoteDestFolder1)那么
Directory.CreateDirectory(sPacoteDestFolder1)
结束如果
ExpTree没有刷新子文件夹。
我不知道如何强制控件在树中显示新目录。
我不知道是否对照应该处理这个或者如果我需要照顾。
如果我必须照顾这个,我该怎么办?
你能帮我解决这个问题吗?
谢谢
Fernando
I''ve been using your wonderful control Exptree.
But I''m having problems to handle the refresh of nodes when I create a folder.
If I select a node and then I create a folder inside that node using code from my app.
For example, if I use this code to create a folder under the node selected
If Not Directory.Exists(sPacoteDestFolder1 ) Then
Directory.CreateDirectory(sPacoteDestFolder1 )
End If
ExpTree doesn''t refresh the subfolders.
I don''t know how to force the control to display the new directory in the tree.
I don''t know if the control should handle this or if I have to take care of.
If I have to take care of this, how can I do it ?
Can you help me on this subject?
Thank you
Fernando
推荐答案
不要在Quick Answers下发布 - 如果你从文章中得到了代码,那么就会有一条新消息 该文章底部的按钮,会将电子邮件发送给作者。然后他们会被告知你希望与他们交谈。
在这里发布这个依赖于他们匆匆而过并意识到这是为了他们。
Don''t post this under Quick Answers - if you got the code from an article, then there is a "new message" button at the bottom of that article, which causes an email to be sent to the author. They are then alerted that you wish to speak to them.
Posting this here relies on them "dropping by" and realising it is for them.
这篇关于ExpTree刷新节点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!