ScaleWidth in vb.net

R

Robert Milrath

Hello NG,

when I resize a form, the grid should have the same width as the form. In
VB6 it was very easy with ScaleWidth. How can I handle this in VB.net?

Thanks you.

Greetings from Munich
Robert Milrath
 
M

Mattias Sjögren

Robert,
when I resize a form, the grid should have the same width as the form. In
VB6 it was very easy with ScaleWidth. How can I handle this in VB.net?

Check out the Windows Forms anchoring and docking support (the Anchor
and Dock properties of controls).



Mattias
 
R

Robert Milrath

Very nice,

Thank you.
Robert

Mattias Sjögren said:
Robert,


Check out the Windows Forms anchoring and docking support (the Anchor
and Dock properties of controls).



Mattias
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,677
Members
48,796
Latest member
Greg L.

Latest Threads

Top