Hi All
I have written some code to rescale my windows forms application forms
depending on the users screen resolution
The application is designed for 1024 x 768 but some customers have 19"
screens and want to use 1280 x 1024 etc
I am using vb.net 2005
Code sample............................................ ..................
Dim x As Decimal = My.Computer.Screen.Bounds.Width / 1024
Dim y As Decimal = My.Computer.Screen.Bounds.Height / 768
Dim mysizef As New SizeF(x, y)
frm.Scale(mysizef)
.................................................. .................................................. .............
This works great for all controls except textboxes
Can someone advise me how to proportion the textboxes to match the other
controls e.g buttons, datagridviews etc
If I resize the font then it affects all the controls and the result is
overlapping controls etc
Regards
Steve