all groups > dotnet academic > january 2004 >
You're in the

dotnet academic

group:

Form Events


Form Events Vyyk Drago
1/26/2004 8:16:07 AM
dotnet academic:
Hi everyone

How do I get a button (or any other control) to change position on a form in response to a user resizing the form in Visual Basic .NET? I have quite a bit of experience of doing this type of stuff in VBA for Excel, but obviously it is quite different in .NET. Any help would be greatly appreciated. Also, can I make it that a user can only make a form wider, not taller

Thank
RE: Form Events Tim Young
1/26/2004 1:26:05 PM
Vyyk,

Have a look at the following link. It shows how to automatically move/resize form controls in response to the form size with minimum code and effort.

http://www.imt.net/~joe/matt/program/vb/Tutorials/pflvb7/index.html

Hope this helps...
Kind regards
AddThis Social Bookmark Button