Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Line spacing on Memo field info on a report
Message
 
À
15/09/2002 21:51:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00700669
Message ID:
00700783
Vues:
9
>I would like to squeeze the lines closer together on lines being printed from a memo field to a report. There is just too much white space.
>
>Is there such a control?
>
>Many Thanks.

Controlling the "leading" in memo fields is a bit tricky, to say the least. There is not specific setting that you can change. However, once you understand how VFP internally calculates you can play with it to try to get the results you want.

What VFP does is look at the height of the object you placed on the report. Then it figures out how many full lines of text would fit within that height. Then it takes the left over space and equally distributes it between the lines. If you define the object with exactly two lines of space, you'll get the normal leading. If you shrink the object so it's only 1-1/2 lines tall, you'll actually get MORE leading, because it figures that only one line fits .. then uses the extra 1/2 line as the leading between lines.

So to answer your question .. play around with the height of the object, a few pixels at a time, and you'll get different leading.

Cathy
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform