user3211476
user3211476

Reputation: 37

how to automatically reisize the controls on the form?

i made my application in 1366 x 768 resolution and i want to be flexible when i install it in a unit with 1028 x 600 resolution it will automatically resizes the controls to fit in the screen. is it that possible in vb.net ?

Upvotes: 0

Views: 72

Answers (2)

user3453226
user3453226

Reputation:

You can work with Control.Anchor. You will need to do some tests to find the correct way to use this in your particular situation.

Upvotes: 1

Dnyanesh
Dnyanesh

Reputation: 2343

I think you need to set following properties in your form

Me.AutoSize = True 
Me.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink

For more details take a look here

Upvotes: 0

Related Questions