General information
Category:
Coding, syntax and commands
Title:
How to base on resolution to resize control width?
Hi all,
I use vb.net. I have a form size (884,504), datagridview size (876,445), 2 field width (100, 700) in my computer resolution (1920 x 1080, 19 rich Monitor) is ok .
The form change to size(665,412), datagridview size(657,353), in other computer resolution (1440x 900 , 17 rich Monitor) , then also
no problem but mainly problem is the 2 field width still (100, 700) , then will over the datagridview width 657 (100+700 is biger than 657).
Anyone know how to calculate the 2 field width to make an adjust ?
Thank you ~~~
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only