Jump to content

Form help..

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
2 replies to this topic

#1
Patrick

Patrick

    Programmer

  • Members
  • PipPipPipPip
  • 101 posts
Hello all
I have a problem with the MS visual basic 6.0..I am doing my project in my collage lab and their the pc's screen is 17'' and at my home my pc screen is 15'' so what i have to do? as when i tried to open the form at home then they does not broadened..as i need to do..so something can happens?
Thanks alot

#2
v0id

v0id

    Retired

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 2,936 posts
Instead of setting fixed dimensions on your forms, buttons, etc. then make them dynamic. Get the screen resolution, and use it to calculate the sizes of forms, buttons, etc.

#3
TcM

TcM

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 11,147 posts
Yes.. use the form_load() to calculate the screen resolution, store the x and y pixels into variables and then divide or multiply as needed