Click to See Complete Forum and Search --> : What control for form on a SDI?


jhilb
October 24th, 2001, 07:28 AM
I have a form with a treeview and listview. When a particular item in the treeview is selected I want the listview to become invisible and a form (kinda like properties) to show in it's place. So the treeview will remain but the listview is replaced with a properties page (not a popup though, just sitting to the treeview's right side).

I know how to make the listview invisible, but how do I get a control next to the treeview to put my editable controls (text, check, etc) on? I was thinking a frame?

Anyone got any code that does something similar?

DSJ
October 24th, 2001, 08:08 AM
A frame is what you need to use... put your other controls on the frame during design time and set the frames visible property to false, then when you need it, set it to true.