Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Checkbox caption
Message
De
10/06/2008 08:59:19
 
 
À
10/06/2008 05:36:32
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01322765
Message ID:
01322794
Vues:
26
>Cetin,
>
>my failure.
>
>What I mean was Trim as the report does, like trim to the nearest word or adding eclipsis.

Like the Trim Mode for Character Expressions?

Prior to Visual FoxPro 9, field objects were always trimmed to the nearest word when the text was too long. In Visual FoxPro 9, a new option on the Field Properties dialog box allows you to determine how the text is trimmed.

GDI+ provides multiple ways for you to handle text that does not fit in its assigned layout rectangle. The ReportListener class exposes its various options as described in the table below

-Default trimming uses the default behavior, which is the same as the Trim to nearest word, append ellipsis option. This behavior is similar to prior versions of Visual FoxPro, with the exception of appending the ellipsis.
-Trim to nearest character trims text to the last full character that fits in the defined area.
-Trim to nearest word trims text to the last full word that fits in the defined area.
-Trim to nearest character, append ellipsis trims text to the last full character that fits in the defined area, after an ellipsis is added to the text that prints.
-Trim to nearest word, append ellipsis trims text to the last full word that fits in the defined area, after an ellipsis is added to the text that prints.
Filespec: Show inner path as ellipsis replaces the inner directories of a long path and filename with an ellipsis when the full text does not fit in the defined area.

It's a GDI+ feature foxpro uses. You should find how it's done in the source code of the ReportOutput.app. Unfortunately it is no simple setting for any caption.

Bye, Olaf.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform