Troy
Well-known member
- Joined
- Feb 7, 2005
- Messages
- 153
- Programming Experience
- 10+
Hey all. I didn't know where to post this for sure since it relates to displaying a windows form or the treeview control.
My Main MDI Parent form displays a treeview control on the left side of my screen, populated with the names of customers.
on the right is the area where once they select a customer the child form containing their information is displayed.
ok problems so far.
1. I only need to trigger displaying a child form once per customer. I've almost fixed this one (think I can get it)
2. When I select the child window from the Treeview everything works fine, My treeview node pertaining to the selected child is correct.
But if I select the child by clicking the child form my treeview doesn't update to the correct customer being displayed.
How can I update the selected treeview node without actually displaying another childform.
I've tried Treeview.Select but it reruns my Treeview_afterselect code and redisplays another child form for the same customer.
Any ideas?
My Main MDI Parent form displays a treeview control on the left side of my screen, populated with the names of customers.
on the right is the area where once they select a customer the child form containing their information is displayed.
ok problems so far.
1. I only need to trigger displaying a child form once per customer. I've almost fixed this one (think I can get it)
2. When I select the child window from the Treeview everything works fine, My treeview node pertaining to the selected child is correct.
But if I select the child by clicking the child form my treeview doesn't update to the correct customer being displayed.
How can I update the selected treeview node without actually displaying another childform.
I've tried Treeview.Select but it reruns my Treeview_afterselect code and redisplays another child form for the same customer.
Any ideas?