Board index » cppbuilder » 1024x768 application shrinks to 800x600

1024x768 application shrinks to 800x600


2003-12-19 03:41:50 AM
cppbuilder103
I've written an application for touchscreen on my laptop; it runs fine on the laptop, but when I try to run it on the target system, all my panels and text are scaled down as if they're trying to fit into an 800x600 screen. The screen on the target system is set up as 1024x768, the monitor is an Elo LCD touchscreen which was autodetected as a generic plug and play monitor.
I've tried a lot of different changes, and nothing seems to make the displays work at the proper size. Everything that's created at runtime is displayed in the right place, but the items that were created at design time are scrunched up to the left and top.
 
 

Re:1024x768 application shrinks to 800x600

The easieat solution would be to create everything at runtime. However, if
this approach is not practical,
please post a minimum skeleton of your code that shows the problem.
"Should you have bright ideas in your dreams, then make your dreams come
true".Rodolfo, 2003
"Dave V." < XXXX@XXXXX.COM >wrote in message
Quote

I've written an application for touchscreen on my laptop; it runs fine on
the laptop, but when I try to run it on the target system, all my panels and
text are scaled down as if they're trying to fit into an 800x600 screen.
The screen on the target system is set up as 1024x768, the monitor is an Elo
LCD touchscreen which was autodetected as a generic plug and play monitor.
Quote

I've tried a lot of different changes, and nothing seems to make the
displays work at the proper size. Everything that's created at runtime is
displayed in the right place, but the items that were created at design time
are scrunched up to the left and top.
 

Re:1024x768 application shrinks to 800x600

Thanks for the reply.
After some more trials and errors, I found out the problem was due to the PixelsPerInch property being different on the two monitors, and Scaling being on by default. Once I set Scaling=false in all my forms, things started working OK.
"Rodolfo Frino - Macrosoft" < XXXX@XXXXX.COM >wrote:
Quote
The easieat solution would be to create everything at runtime. However, if
this approach is not practical,
please post a minimum skeleton of your code that shows the problem.

"Should you have bright ideas in your dreams, then make your dreams come
true".Rodolfo, 2003

"Dave V." < XXXX@XXXXX.COM >wrote in message
news:3fe2110e$ XXXX@XXXXX.COM ...
>
>I've written an application for touchscreen on my laptop; it runs fine on
the laptop, but when I try to run it on the target system, all my panels and
text are scaled down as if they're trying to fit into an 800x600 screen.
The screen on the target system is set up as 1024x768, the monitor is an Elo
LCD touchscreen which was autodetected as a generic plug and play monitor.
>
>I've tried a lot of different changes, and nothing seems to make the
displays work at the proper size. Everything that's created at runtime is
displayed in the right place, but the items that were created at design time
are scrunched up to the left and top.


 

{smallsort}