Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Resetting size of labels programmicly
Message
De
30/01/2003 11:14:32
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00746896
Message ID:
00747189
Vues:
29
David,

>There will be a simple multiplication by a constant to convert the value to >the 10000ths of an inch measurement that the report uses.

this may be true, and I am probable finding the contanct wrong, because my new sizes are still too small.
Here is what I do:
lnlength = TXTWIDTH(lcExpr, lcFont, ;
     lnFontsize, lcfontstyle)
lnConstanct = WIDTH / lnlength
after changing the label
lnlength = TXTWIDTH(lcExpr, lcFont, ;
   lnFontsize, lcFontstyle)
REPLACE WIDTH WITH lnlength * lnConstanct
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform