M
Martin
I have a treeview control, which is docked on a panel. When I call the
procedure to fill this treeview from the load event it works fine. It loads
all nodes, and displays them nicely.
However, when I call the very same procedure at a later stage (after a
login) then the nodes don't show. I traced with the debugger, and the nodes
do get created, but when I check the IsVisible property, it is set to No.
So, now comes the weirdest part... I cut the procedure that fills the
treeview in two. The first part loads header nodes, which are the same for
every user. I call this procedure from the load event. Then after the login
I call the 2nd part, which adds child nodes to the previously created header
nodes. When the form shows, the header nodes are shown, the later added
child nodes are not. Again, they do exist, but I can't seem to make them
visible... What's going on here?
Tia,
Martin
procedure to fill this treeview from the load event it works fine. It loads
all nodes, and displays them nicely.
However, when I call the very same procedure at a later stage (after a
login) then the nodes don't show. I traced with the debugger, and the nodes
do get created, but when I check the IsVisible property, it is set to No.
So, now comes the weirdest part... I cut the procedure that fills the
treeview in two. The first part loads header nodes, which are the same for
every user. I call this procedure from the load event. Then after the login
I call the 2nd part, which adds child nodes to the previously created header
nodes. When the form shows, the header nodes are shown, the later added
child nodes are not. Again, they do exist, but I can't seem to make them
visible... What's going on here?
Tia,
Martin