-
Is there an easy way to modify the left, top, width,
height and font size of labels/command buttons at
run-time depending on the user's resolution?
I can get the resolution and then use:-
For Each Control .....
or even hard code the values, but.....
does anyone know an easier way?
Cheers in advance
-
Nope, there isn't an easier way.
-
Search in VB-World articles for Resizing controls at run time.
-
THERE IS A WAY
:):):):):):):):):)
THERE IS A WAY!!!!!!!!
ALL you need to do is:
make a ocx, and refer to it at runtime
:):):):):):):):):)
-
Dimava, he is still doing the work that way. It won't make much of a difference.
-
:):):):):):):)
except that it will be easier for him to write the code
and if he creates a ocx, he can use it for other programs.
Then again, maybe you're right, it will be easier to just write the code
:):):):):):):)