Home All Groups Group Topic Archive Search About

Automatic Resize of Panel

Author
21 Sep 2006 4:01 PM
Istvan Loerincz
Hello

I have a
    public class ChartPanel : System.Windows.Forms.Panel
and add with
    this.Controls.Add(...)
Objects (usercontrols) to it

How can I achieve that "ChartPanel" automatic resize, if objects are
not visible
any more (because of x,y).

ChartPanel is embedded in
   ChartRow : System.Windows.Forms.UserControl



Best Regards,
Istvan

Author
21 Sep 2006 4:27 PM
Istvan Loerincz
ChartRow is in an UserControl with Autoscroll = true,

I only want that  ChartPanel should resize automatically,

AddThis Social Bookmark Button