Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21848

Size of objects on different screens - advice needed

$
0
0
Hi coders,

Just posting this for some advise and help.

Firstly, i have a maximised form with several object ie text boxes, combo boxes ect...I use 2 different size screens, and it looks silly when the form is on the bigger screen due to big spaces on the bottom and sides of the form.

Originally I spaced the object out on Form_load and this works fine, but I decided to use a .ini file to put all the .width, .height, .top, .left, .fontsize for each object and space the objects out for the different size screens.

Ok, my question/advise

A. Has anyone came up with a better way then this

B. it's a lot of setting up, is there any way that I can read out all the objects on the form without writting the object name manually and record .height, .width, .left, .top, .fontsize

Hope this makes sense

Viewing all articles
Browse latest Browse all 21848

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>