This didn't work for me - my panel still scrolls to the top of the selected control when the panel is reactivated after some other window has the focus. But thanks to you I did find a solution. I was able to disable scrolling by overriding method AdjustFormScrollbars(). I use a class-level flag (_enableScroll) to control when I want scrolling enabled, as follows: protected override void AdjustFormScrollbars(bool displayScrollbars) { if (_enableScroll) { base.AdjustFormScrollbars(displayScrollbars); } } I set _enableScroll false when my main form is deactivated and use a timer to set it true again a second after my main form is re-activated.
C
CampwoodJim
@CampwoodJim