|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Making a UserControl scroll when host form is resizedHi, how can I make a UserControl scroll when host form is
resized? Thanks Ian. "ian.mce***@atonement.net" <anonym***@discussions.microsoft.com> schrieb: Set its 'AutoScrollPosition' accordingly.> Hi, how can I make a UserControl scroll when host form is > resized? -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://dotnet.mvps.org/dotnet/faqs/> 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. >-----Original Message----- <anonym***@discussions.microsoft.com> schrieb:>"ian.mce***@atonement.net" Show quoteHide quote >> Hi, how can I make a UserControl scroll when host form is >> resized? > >Set its 'AutoScrollPosition' accordingly. > >-- > M S Herfried K. Wagner >M V P <URL:http://dotnet.mvps.org/> > V B <URL:http://dotnet.mvps.org/dotnet/faqs/> >. > "ian.mce***@atonement.net" <anonym***@discussions.microsoft.com> schrieb: Set the usercontrol's 'AutoScroll' property to 'True'.> 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. -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://dotnet.mvps.org/dotnet/faqs/> Of course I tried that, but it is not sufficient to make
it work. >-----Original Message----- <anonym***@discussions.microsoft.com> schrieb:>"ian.mce***@atonement.net" Show quoteHide quote >> 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. > >Set the usercontrol's 'AutoScroll' property to 'True'. > >-- > M S Herfried K. Wagner >M V P <URL:http://dotnet.mvps.org/> > V B <URL:http://dotnet.mvps.org/dotnet/faqs/> >. >
Other interesting topics
DataBinding, grr
Is C# is having a seperate class library? Add result using EnumWindow/GetWindowText ListBox problem Delegating Menu Commands Calculations with DateTime fields using DataColumn.Expression stri I need to run a vb.net or aspx.net file every 10 seconds. How to get a file's date/time correctly? Threads with Windows. Tabbing to next field after Return key |
|||||||||||||||||||||||