473,320 Members | 1,879 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

controls, resolution, and screens

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
Nov 20 '05 #1
5 935
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

"steve" <a@b.com> wrote in message
news:10*************@corp.supernews.com...
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

Nov 20 '05 #2
* "steve" <a@b.com> scripsit:
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?

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #3
"steve" <a@b.com> schrieb
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.


autoscale = false
--
Armin

How to quote and why:
http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Nov 20 '05 #4
thanks all.

i'll give the form's autoscale property a shot.
"steve" <a@b.com> wrote in message
news:10*************@corp.supernews.com...
| 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
|
|
Nov 20 '05 #5
thanks...that did do the trick.
"steve" <a@b.com> wrote in message
news:10*************@corp.supernews.com...
| thanks all.
|
| i'll give the form's autoscale property a shot.
|
|
| "steve" <a@b.com> wrote in message
| news:10*************@corp.supernews.com...
| | 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
| |
| |
|
|
Nov 20 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Maxine | last post by:
I work on a 19" monitor. To approximately test different resolutions, I use "Sizer" software (http://www.brianapps.net/sizer.html) to test in 800x600 and 460x800. However, that is viewing the...
14
by: 97T | last post by:
Well this is still bugging me. I know there are other ways around this, but for a number of reasons I would like to be able to do this one simple thing. I have a form with a number of controls...
1
by: Joe | last post by:
While I understand that Server Side Includes still work, I realize it's not the best practice for sharing code such as a common set of includes between screens. In ASP.NET I've already built...
3
by: garyusenet | last post by:
I'm writing a basic application for use in an office environment. I dont like the box standard (excuse the pun) windows forms shape, so am using the transparency trick to hide part of a bmp set to...
35
by: Friendly_Lola | last post by:
What Screen Resolution do You use? 800 X 600 1024 X 768 1280 X 1024 Wow! 1600 X 1200 (i can't imagine this) I use 1024 X 768. For what resolution you optimize your web pages?
1
by: Alan Mailer | last post by:
This may be a very old question but, is there a way with VB.net to have the controls on a form scale in accordance with the screen resolution of the deploy computer? ....Or is it best to always...
23
by: salmobytes | last post by:
I try to do all css with percents and ems (elastic/liquid) so my displays look as much the same as possible, regardless the user's screen resolution. But I (still) never seem to get what I want. ...
2
by: Leon P. | last post by:
Hello All, I have MFC-based application featuring: 1) Flow of "Screens" where screens are implemented as a MFC's CDialog-inherited classes loading PNG or BMP images. 2) Dialog's child controls...
10
by: =?Utf-8?B?UmljaA==?= | last post by:
A lot of users at my workplace use different screen resolutions, and I build apps to use 1680 x 1050 pixels res by default. But some users are using 800 x 600, and the apps are too large for their...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.