Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...this web site is a 'Godsend' for me. If I have a programming problem that I'm unable to solve, I'll get a sensible reply in no time. It's really great!..."

Geography

Where in the world do Tek-Tips members come from?

Form components different sizes depending on Win7 or WinXP

HuntsvilleRob (Programmer)
4 Dec 11 16:15
Hello.  I have an app written in Borland C++ Builder 6 and tested on a computer running WinXP.  Everything works great.  However, when I move the app to a Windows 7 OS, the app works but some of the components' sizes change, e.g.- a string grid which has height 500 and width 500 on the WinXP will suddenly have a width and height of 750 in the Windows 7 OS.  Is there a setting I'm using wrong?  Anyone else seen this?  Thanks.
-Rob
MrEARTHSHAcKER (Programmer)
26 Jan 12 13:23
Hi,

I've just noticed that. My font has changed, it's Adobe font, but another type of font got bigger - same form.
One of forms has resized to really small dimensions.
Did you solve the problem?

( Created on Win7 and tested on XP )
HuntsvilleRob (Programmer)
27 Jan 12 11:31
Hello.   Yes, I solved my problem.  It didn't end up being a problem between Windows XP and Windows 7, it was just that one computer had the DPI setting set to 96 and the other computer had it set to 120.  *In addition*, I had the Properties attribute of the problem form set to Scaled=true.  I was able to solve my problem by changing the Properties attribute to Scaled=false, or equivalently by making sure that the DPI setting on both computers was the same and leaving Scaled=true.  Hope this works for you!
2ffat (Programmer)
27 Jan 12 11:58
Glad we could help. lol
 

James P. Cottingham
I'm number 1,229!
I'm number 1,229!

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Back To Forum

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close