Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
'...' in the preview of VFP 9.0 report engine
Message
De
02/12/2004 15:10:55
 
 
À
02/12/2004 14:43:53
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro Beta
Divers
Thread ID:
00966484
Message ID:
00966489
Vues:
10
Valentin -

>> I am using the VFP 9 new report engine.
>> When I preview, I see some of my fields and labels has '...'.
>> But when I switch to the old report engine, it displays properly
>> but some information are cut off.
>>
>> Is there a way how to make it behave like the old report engine
>> when displaying my fields and labels without changing the .FRX?

In a word, no.

This is one of the rare cases where "default behavior" was deliberately changed from what the 80 report engine does. It was done specifically because GDI+ text rendering requires the additional space, and it would have been too easy for developers to glance at a report and think, "Oh, this is ok, I don't see any problems" and not see where data was being truncated. The "..." is a visual clue that you are missing some data, potentially.

If you want the 90 reporting to mimic the old behavior, you have to edit the FRX to set StringTrimming to "Nearest character" for all fields.

A better solution is to make the field wider to accommodate the data!

This requirement to use extra width in text rendering is about the only downside of GDI+ rendering, in my opinion. Unfortunately, it is not possible to tell the 90 reporting engine to use GDI for rendering - it's very tightly bound with GDI+.

I hope this helps,
- Colin
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform