Options Dialog with treeview - best practice?

Options Dialog with treeview - best practice?

Post by Gunter Sch » Fri, 29 Oct 2004 18:42:58


Hello,

I would like to programm an options Dialog with a treeview, like MyIE,
Firefox or even Netscape use.

Which would be the best way to show and hide the necessary controls on
clicking a group in the treeview?

a) Put a frame around all options of one group and show/hide the frame?
b) Put all options of one group in a seperate form and show or hide that
within the Options form?
c) other?

Which is best during development, because I might have a big pile of
controls on one form?

regards
Gunter
 
 
 

Options Dialog with treeview - best practice?

Post by fajp » Sat, 30 Oct 2004 16:06:50

On Thu, 28 Oct 2004 11:42:58 +0200, "Gunter Schmidt"


a or b, depending on your needs for a form or not.

The form, that way you can keep that stuff closed while you're working
on the main form. Then if needed you can always simply transfer all
controls to a frame on the main form.

--

Regards, Frank

 
 
 

Options Dialog with treeview - best practice?

Post by Gunter Sch » Sat, 30 Oct 2004 23:03:39


Actually I decided for frames and it turned out to be a good decision:
- All controls on the frame go dark if the frame is set to visible = false
- The frame can be moved to the correct location with one statement, thus
all controls follow (much less programming)
- A lot of controls are not a problem during development, as the frames can
be stacked and set to front easily
- all controls are reachable with "me.xxx"
- less overhead

Gunter