Problems after adding Control dynamically on Panel
- by Thomas
Hello,
I have added an View List onto a Panel like that:
panelComponent.Controls.Add(viewListComponent);
Everthing works just fine. Mouse Events are handled, Repaint works. But one:
I cant dynamically move it around. If i change the control.Top Variablen it just sit there and
nothing.
Its clued to the top left corner. Resizing the right and bottom line works just fine! I did it without dynamically adding and than no Problem.
Hope you can help.
Thomas