BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Need help with forms resolution errors

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> comp.lang.pascal.delphi.misc
View previous topic :: View next topic  
Author Message
Alistair George
Guest





PostPosted: Sun Feb 20, 2005 1:45 am    Post subject: Need help with forms resolution errors Reply with quote



Hi All.
I have a modal forms resolution/fonts problem.
The mainform calls a modal form, which is an Options form for the
program. Several users have complained of squeezed graphics/text and one
has sent me a view of his screen capture:
www.alistairgeorge.com/spamdelbad.jpg
What it should look like is here:
www.alistairgeorge.com/spamdelgood.jpg

I have tried MPSautosize component, and a few other tricks, but the user
says the visual remains the same. Most odd, because he is using WinXP
and same resolution/fonts settings and myself. I have Arial as the font
for this form.

Any suggestions please?
Tks,
Alistair+


http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
Back to top
J French
Guest





PostPosted: Sun Feb 20, 2005 11:11 am    Post subject: Re: Need help with forms resolution errors Reply with quote



On Sun, 20 Feb 2005 14:45:06 +1300, Alistair George
<noname (AT) xtra (DOT) co.nz> wrote:

Quote:
Hi All.
I have a modal forms resolution/fonts problem.
The mainform calls a modal form, which is an Options form for the
program. Several users have complained of squeezed graphics/text and one
has sent me a view of his screen capture:
www.alistairgeorge.com/spamdelbad.jpg
What it should look like is here:
www.alistairgeorge.com/spamdelgood.jpg

I have tried MPSautosize component, and a few other tricks, but the user
says the visual remains the same. Most odd, because he is using WinXP
and same resolution/fonts settings and myself. I have Arial as the font
for this form.

Are you sure that this user is not using Large Fonts ?

Back to top
Jamie
Guest





PostPosted: Sun Feb 20, 2005 6:09 pm    Post subject: Re: Need help with forms resolution errors Reply with quote



Alistair George wrote:
Quote:
Hi all. I have a user who reports screen corruption on a modal form
(called by the mainform). His system graphics settings replicate my own,
and has been reported by a few other users of my software. I have tried
two computers to see if I can emulate but to no avail. Please see the
attached JPG files to see what I mean. I have even tried placing an
autosize component (MPSautosize) which makes no different to his
graphics problem.

Any suggestions please?
Thanks vm.
Alistair+

------------------------------------------------------------------------


------------------------------------------------------------------------

looks like they are using Large fonts.

you may want to use the scape property set to true in your
modal form.


Back to top
Alistair George
Guest





PostPosted: Sun Feb 20, 2005 8:39 pm    Post subject: Re: Need help with forms resolution errors Reply with quote

Jamie wrote:
Quote:
Alistair George wrote:

Hi all. I have a user who reports screen corruption on a modal form
(called by the mainform). His system graphics settings replicate my
own, and has been reported by a few other users of my software. I
have tried two computers to see if I can emulate but to no avail.
Please see the attached JPG files to see what I mean. I have even
tried placing an autosize component (MPSautosize) which makes no
different to his graphics problem.

Any suggestions please?
Thanks vm.
Alistair+

------------------------------------------------------------------------


------------------------------------------------------------------------

looks like they are using Large fonts.
you may want to use the scape property set to true in your
modal form.

I did try scaled:=true. He reports fonts 'medium' but where exactly in

WinXP should the fonts be set as I agree - his looks like large. So he
is obvioulsy going to desktop and getting properties which tell him
Medium, but somewhere else in XP there may be another defining area?
Tks,
Alistair+


http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----

Back to top
Jamie
Guest





PostPosted: Mon Feb 21, 2005 2:17 am    Post subject: Re: Need help with forms resolution errors Reply with quote

Alistair George wrote:

Quote:
Jamie wrote:

Alistair George wrote:


looks like they are using Large fonts.
you may want to use the scale property set to true in your
modal form.

I did try scaled:=true. He reports fonts 'medium' but where exactly in
WinXP should the fonts be set as I agree - his looks like large. So he
is obvioulsy going to desktop and getting properties which tell him
Medium, but somewhere else in XP there may be another defining area?
Tks,
Alistair+

----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet
News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+
Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
i did find a problem in the forms.pas file where it sets the scale of

the components at initiation time.
my program would actually shrink the form on PC's in japanese font
sets. the font was given to me to experiment with and i corrected the
problem.
it was a problem in the reporting of the font info verses how borland
uses it to scale the controls.
i posted the bug back in the days of D3, to date i don't think they
have corrected it.
i just simply modify that section of the forms.pas file how ever, you
can only use this in non-runtime packages.
the effects was causing a Japanese font using 96 DPI setttings
(normal) to shrink the form due to an error in calculation.
if you wish, i can dig up that code if you would like to look at it ?


Back to top
Alistair George
Guest





PostPosted: Mon Feb 21, 2005 7:03 pm    Post subject: Re: Need help with forms resolution errors Reply with quote

Quote:
uses it to scale the controls.
i posted the bug back in the days of D3, to date i don't think they
have corrected it.
i just simply modify that section of the forms.pas file how ever, you
can only use this in non-runtime packages.
the effects was causing a Japanese font using 96 DPI setttings
(normal) to shrink the form due to an error in calculation.
if you wish, i can dig up that code if you would like to look at it ?


Appreciate - but in non-runtime packages, does that mean you dont want
me to use it in anything I distribute?
Cheers Jamie, Al+



http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----

Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> comp.lang.pascal.delphi.misc All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.