Re: treeview refresh
- From: "Rob Parker" <CUT_THIS robpparker at optusnet dot com dot au>
- Date: Wed, 11 May 2005 18:41:14 +1000
You can use the treeview's .Nodes.Add or Nodes.Remove methods to add or
remove nodes as you change things in other forms (with the appropriate
FormName.TreeViewname to refer to the control).
If you want to learn lots about Treeview controls, I recommend Alex
Dybenko's sample, available from
http://www.pointltd.com/Downloads/Details.asp?dlID=36
HTH,
Rob
"dave k" <davek@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:EC17B323-9FAD-4BCB-A045-EBC26635AEEE@xxxxxxxxxxxxxxxx
> I have a tree with many forms behind it. You can click on a detail button
> and then go to the detail to update information, delete, etc. What is the
> best way to refresh the treeview after changes are made? I need to
refresh
> the data and also eleminate / add nodes. Right now I can do it by erasing
> and then recreating which works good. The only problem is that some nodes
> are expanded while others are not and you lose that. Any suggestions?
Since
> I have one many to many relationship in the tree the keys may change.
>
> Thanks,
> Dave
>
.
- Follow-Ups:
- Re: treeview refresh
- From: dave k
- Re: treeview refresh
- References:
- treeview refresh
- From: dave k
- treeview refresh
- Prev by Date: RE: Mail merge from a form?
- Next by Date: RE: Subform register visible
- Previous by thread: treeview refresh
- Next by thread: Re: treeview refresh
- Index(es):
Relevant Pages
|