I have a Panel on a form to which i have added a selection of controls with (x,y) coordinates.
The panel has Autoscroll enabled. If there are enough controls to require a scrollbar, and the bar has been scrolled down when the paint event fires, the controls all move down when the panel paints.
Each time this process is repeated the controls are shuffled down. This results in a gap at the top of the panel : /
I have checked through debugging and the coordinates arent changing so the control is still at (25, 25) but now (25,25) is further down the panel : / Im really stumped on this one. Can anyone shed some light?