controls, resolution, and screens

  • Thread starter Thread starter steve
  • Start date Start date
S

steve

i've got a form that i'm adding controls to dynamically. i'm doing
development on a laptop and testing different resolutions. the screens look
fine at each res. being tested. however, when i install the app on a
different pc (desktop), the controls are out of alignment, some are even off
the screen.

what gives?

tia,

steve
 
* "steve said:
i've got a form that i'm adding controls to dynamically. i'm doing
development on a laptop and testing different resolutions. the screens look
fine at each res. being tested. however, when i install the app on a
different pc (desktop), the controls are out of alignment, some are even off
the screen.

Did you play around with the form's 'AutoScale' property?
 
thanks all.

i'll give the form's autoscale property a shot.


| i've got a form that i'm adding controls to dynamically. i'm doing
| development on a laptop and testing different resolutions. the screens
look
| fine at each res. being tested. however, when i install the app on a
| different pc (desktop), the controls are out of alignment, some are even
off
| the screen.
|
| what gives?
|
| tia,
|
| steve
|
|
 
thanks...that did do the trick.


| thanks all.
|
| i'll give the form's autoscale property a shot.
|
|
| | | i've got a form that i'm adding controls to dynamically. i'm doing
| | development on a laptop and testing different resolutions. the screens
| look
| | fine at each res. being tested. however, when i install the app on a
| | different pc (desktop), the controls are out of alignment, some are even
| off
| | the screen.
| |
| | what gives?
| |
| | tia,
| |
| | steve
| |
| |
|
|
 
Check if display settings are same.
When you calculate positions of controls you must use system settings (like
border3d size, caption height etc.). They could be modified by users in any
way they want. See display/appearance tab. And related SystemInformation
class in .Net.

HTH
Alex
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top