ybenaabud
May 30th, 2006, 10:33 AM
Hi,
I have 2 controls (usercontrolA wich is scrollable and usercontrolB added to the list of A controls - UserControlA.Controls.Add(usercontrolB) )
when I scroll A using the scroll bar down (and B become invisible) everything is OK. but when I actualize the main form (by reducing the window for exemple and remaximizing it) the scroll go automatically so that B can become visible).
Can anyone help me to keep the scroll bar in the same positiong after actualisation ?
I think that is something to do with focus in control B ??!!
Thinkx
I have 2 controls (usercontrolA wich is scrollable and usercontrolB added to the list of A controls - UserControlA.Controls.Add(usercontrolB) )
when I scroll A using the scroll bar down (and B become invisible) everything is OK. but when I actualize the main form (by reducing the window for exemple and remaximizing it) the scroll go automatically so that B can become visible).
Can anyone help me to keep the scroll bar in the same positiong after actualisation ?
I think that is something to do with focus in control B ??!!
Thinkx