I ian.mcewan Dec 7, 2004 #1 Hi, how can I make a UserControl scroll when host form is resized? Thanks Ian.
H Herfried K. Wagner [MVP] Dec 7, 2004 #2 [email protected] said: Hi, how can I make a UserControl scroll when host form is resized? Click to expand... Set its 'AutoScrollPosition' accordingly.
[email protected] said: Hi, how can I make a UserControl scroll when host form is resized? Click to expand... Set its 'AutoScrollPosition' accordingly.
I ian.mcewan Dec 8, 2004 #3 As would indeed seem obvious. However it doesn't seem to work the way it should. For example if I set AutoScrollMinSize to 100,100, no matter how small or large I resize the form, the usercontrol DOES NOT have scrollbars attached.
As would indeed seem obvious. However it doesn't seem to work the way it should. For example if I set AutoScrollMinSize to 100,100, no matter how small or large I resize the form, the usercontrol DOES NOT have scrollbars attached.
H Herfried K. Wagner [MVP] Dec 8, 2004 #4 [email protected] said: For example if I set AutoScrollMinSize to 100,100, no matter how small or large I resize the form, the usercontrol DOES NOT have scrollbars attached. Click to expand... Set the usercontrol's 'AutoScroll' property to 'True'.
[email protected] said: For example if I set AutoScrollMinSize to 100,100, no matter how small or large I resize the form, the usercontrol DOES NOT have scrollbars attached. Click to expand... Set the usercontrol's 'AutoScroll' property to 'True'.