B
Bob Rundle
I'm trying to do something simple and can't seem to get my way with the
forms designer.
My form is divided in two: left side a tree view control, right side a
panel with splitter control inbetween. So far so good.
Now I want to stack panel controls on the right side. The idea is that as I
click on tree nodes on the left side, a particular panel is made visible.
So all the panels have to have the form as the parent. Then I
programatically set visibility of the panels in the select handler for the
tree.
I can get this working if I massage the code that the forms designer
generates. However I can't seem to drop panels into the form such that all
the panels are children of the form. Furthermore my hand massaged code is
obliterated the next time I fool with the form.
Is there another, simpler way to achieve my goals?
Regards,
Bob Rundle
forms designer.
My form is divided in two: left side a tree view control, right side a
panel with splitter control inbetween. So far so good.
Now I want to stack panel controls on the right side. The idea is that as I
click on tree nodes on the left side, a particular panel is made visible.
So all the panels have to have the form as the parent. Then I
programatically set visibility of the panels in the select handler for the
tree.
I can get this working if I massage the code that the forms designer
generates. However I can't seem to drop panels into the form such that all
the panels are children of the form. Furthermore my hand massaged code is
obliterated the next time I fool with the form.
Is there another, simpler way to achieve my goals?
Regards,
Bob Rundle