|
|
Title | Make a dialog that stretches controls on the bottom and right to take advantage of its full size in VB .NET |
Keywords | stretch, Anchor, VB .NET |
Categories | Controls, VB.NET, Software Engineering |
|
|
Some controls such as ListBox, ListView, and DataGrid can display large amounts of data. If you put one of these controls on the bottom of a form and make it resize itself when the form gets taller, you can display as much data as will fit on the form.
Position the control so it extends to the left, right, and bottom edges of the form. Then set its Anchor property to Bottom, Left, Right. The rest is automatic.
|
|
|
|
|
|