|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Making richtextbox resize with form?How do I have a richtextbox (or similar item) width resize when I increase
the parent form width? I could probably use the form change event and have the richtextbox set to -10 of the form width but was wondering if there is a better way. Thanks, Brett "Brett" <no@spam.com> schrieb: Set the richtextbox's 'Dock' property to 'Fill' or anchor the form on each > How do I have a richtextbox (or similar item) width resize when I increase > the parent form width? > > I could probably use the form change event and have the richtextbox set > to -10 of the form width but was wondering if there is a better way. of the four edges. -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/> "Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at> wrote in message Nice. Thanks.news:Ok0LGw2PFHA.3668@TK2MSFTNGP14.phx.gbl... > "Brett" <no@spam.com> schrieb: >> How do I have a richtextbox (or similar item) width resize when I >> increase the parent form width? >> >> I could probably use the form change event and have the richtextbox set >> to -10 of the form width but was wondering if there is a better way. > > Set the richtextbox's 'Dock' property to 'Fill' or anchor the form on each > of the four edges.
complex grid with comboboxes
Reading from a ini-file and run a program How do I measure the time it takes to copy a file? checkbox in dataset step by step guide to databinding? Positioning a Web Control - Runtime form location Datagrid 's TextBox input format question. Registering my program as default for my file extension Inherited Treeview control with dynamic context menu. |
|||||||||||||||||||||||