Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Chemical equation
Message
From
21/11/2002 18:06:16
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
19/11/2002 19:51:13
Ransome So
Ransome's Workshop
Hong Kong, Hong Kong
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00724592
Message ID:
00725518
Views:
14
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform