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 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
* "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/>
"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
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
|
|
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
| |
| |
|
| This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
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...
|
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...
|
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...
|
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...
|
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?
|
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...
|
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. ...
|
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...
|
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...
|
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...
|
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...
|
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...
|
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...
|
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...
|
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...
|
by: Defcon1945 |
last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
|
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
|
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...
| | |