|
Group: Forum Members
Posts: 18,
Visits: 1
|
Hi Angel, thanks for your code. This work fine when the the "Location" Properties of a control inside the nuipanel change, but, in this case I'm adding dinamicaly controls in docking state (Bottom).
In your example : for (int i = 0; i < 20; i++) { m_Button2 = new NButton(); m_Button2.Dock = DockStyle.Bottom; m_Button2.Text = "Click me!"; m_Panel.Controls.Add(m_Button2); }
In that case, the panel is not scrolling. Any work arround?
Thanks
|