Window Forms and panels

  • Thread starter Thread starter Bill Gower
  • Start date Start date
B

Bill Gower

Should anything even a menu, toolbar or statusbar ever be directly placed on
the main window or should they always be placed on a container such as a
panel?

Bill
 
Bill Gower said:
Should anything even a menu, toolbar or statusbar ever be directly placed
on the main window or should they always be placed on a container such as
a panel?

They do not need to be placed on a panel and in general there is no reason
for doing that.
 
Herfried K. Wagner said:
They do not need to be placed on a panel and in general there is no
reason for doing that.

Maybe he's confusing it with WPF. In WPF, you can only put one thing in a
window. So if you want to put something besides a button or a listbox or a
status bar in it, you have to put a panel in it first and then put the
stuff inside the panel.

Robin S.
 
Back
Top