Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Chemical equation
Message
De
21/11/2002 18:06:16
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
19/11/2002 19:51:13
Ransome So
Ransome's Workshop
Hong Kong, Hong Kong
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00724592
Message ID:
00725518
Vues:
15
>Dear all,
>
>The application is a stock control system for a laboratory, how can I print the report with chemical equatons shown in the report such as: H2SO4 where the numeric printed in subscropt fonted.
>
>How can I do that ??

This works, but I don't like it myself:
lcFont="Verdana"
Clear 
@ 1,1 say  "H" font lcFont,12 style "B"
@ 1.6, $ say "2" font lcFont,6
@ 1,$ say  "SO" font lcFont,12 style "B"
@ 1.6, $ say "4" font lcFont,6
You can imagine what would it look like to do the whole report like this. Note the use of "$" as "last horizontal print position". The coordinates are expressed in average character positions of _screen.fontname, _screen.fontsize etc, or (for printing), the last Set Printer Font command.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform