Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to change font in reporting
Message
 
À
21/10/2007 23:18:24
Yim Ming Sun Derek
Spacious Design Consultant
Hong Kong, Hong Kong
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01262473
Message ID:
01328205
Vues:
16
>Hi,
>I have a table with 1 field only and contain 10 records,
>I want to print all records out but use different fonts for
>each record, how can I change the font name in runtime of the report?
>
>Please advise.
>
>Derek Yim

You can use a report listener to change the font. Read through my article at http://msdn.microsoft.com/en-us/library/ms965281.aspx for ideas on how to create directives in conjuction with report listeners. The RedNegative directive changes the font color .. but you can also change the font name. Look at the help file under EvaluateContents for a list of properties that you can change.
Cathy Pountney, Microsoft Visual FoxPro MVP
Memorial Business Systems, Inc. (www.mbs-intl.com)

My Website: (www.frontier2000.com)
My Blog: (www.cathypountney.blogspot.com)
My Book: The Visual FoxPro Report Writer - Pushing it to the Limit and Beyond
Free MSDN Article: What's New in the VFP 9.0 Report Writer
Free MSDN Article: The VFP 9.0 Report Writer In Action
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform