Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Part of the string - in Bold
Message
De
10/01/2001 13:38:05
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00461366
Message ID:
00461789
Vues:
51
Nadya,
>> 1º What is Font/Form here?
Font/Form is a exemple of REAL values of VisualFoxPro
Font = Name and Size of the Font Letter
Form = Sizes in pixels in the form
Report = Sizes on the report
MyFormula = Values gives my formula

>> 2º What is the Factor?
FACTOR is the number of report units per pixel. It's calculated as report units per inch (10,000) divided by pixels per inch (96).
10000/96 = 104.166666666667

>> 3º To know :
I tried with : Arial 1, 4, 9, 18, 24; Courier New 4, 9, 24; FoxFont 9; FoxPro Window Font 9; Arial Black 9; Book Antiqua 9.

In your case, there was not that problem, but if you have to print is diferent fonts and sizes, then the problem exist.
The problems puts when change the font and size, the size of the field have to change to.


>> 4º To Resolve you problem ...

One god way to resolve your problem, is to create two diferent fields, one with the name, the other with the rest to print. With my formula, you can get height and width for them separet. Then Calculate the first field is the original left, top position, then the second field field .....
"Second.Left" = first.left + first.width + space you wish to give
"Second.Top" = "First.Top"
by this way you don't have overlapp nothing and i thing is the right way to do

Nuno Brito
Nuno Brito
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform