Re: How to locate errors when changing language



The errors are in the IDE. Not sure if they are in the runtime of
not...havent got that far.

Yes you are correct the errors are related to the font size. I looked at
the form via notepad and the erroring lines are like this...

BeginProperty Font
Name = "Arial"
Size = 8.25 <========= error line number
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty

Its the 8.25 causing the error when I set the language to Dutch
Netherlands. If I change it to 8...then no error.

What is the best way to fix these errors? Edit every form and try to find
all the odd sizes and change to even sizes? That sounds messy, but will
work. I am afraid I will miss one. I already found a case where the size
was 9.75, change it to 10..fixed that one.

Also weird is the error seems to show only once on initial load of some
forms...then might not show again on second load.

What is the best way to handle all these font size problems?

Thanks for the help!

"Mark Yudkin" <myudkinATcompuserveDOTcom@xxxxxxxxx> wrote in
news:#VoiHbieFHA.3620@xxxxxxxxxxxxxxxxxxxx:

> I was unaware there was such a thing as English Netherlands (it's
> definitely not available on my system). Are you sure this is a legal
> combination on the machines that are causing your problems?
>
> Assuming you meant Dutch (Netherlands):
>
> Usual cause is change between decimal comma and decimal point. Usually
> also hits form sizes too. Although you say you're using 8 point, if
> you look you'll priobably find it's 7.8 or something equally silly.
> For reasons known only to MS, these figures are singles, not longs.
>
> Typical approaches:
> 1) use CLng to get to long
> 2) use on error to "recover" by ignoring
> 3) do your own string conversion (GetSetting, SaveSetting)
>
.



Relevant Pages

  • Re: OE has gone large print
    ... So, tomorrow, I'll once again try to copy all my .dbx folders from old 'defective' identity to this new one. ... All of a sudden, the scroll bar wouldn't move, the entire window began to shimmy. ... the font size is out of whack - too big. ... Some old e-mails look ok, but if I attempt to forward and add content, my normal Arial 12 looks two sizes bigger. ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Times font sizes are different on screen and on eps files
    ... I have 4 different GUI window sizes. ... 10^-4) are all displayed using the Times font family but the font used ... The choice of the base and exponent font sizes vary with the GUI window ...
    (comp.lang.tcl)
  • Re: setting X server DPI
    ... know the distance of the viewer and specify font sizes by the angular ... diameter the viewer will experience with the font :-). ... some false meaning to font sizes. ... you can tell the distance from the ...
    (Fedora)
  • Re: Whats the environment for normal text?
    ... specific font sizes. ... distance. ... Another alternative is to scale the font itself and then adjust all the ... except the command needed usually contains internal ...
    (comp.text.tex)
  • Re: How to locate errors when changing language
    ... I was unaware there was such a thing as English Netherlands (it's definitely ... Property Size in Font had an invalid value. ...
    (microsoft.public.vb.general.discussion)