Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP9 Report Trim Mode for Character Expressions
Message
From
11/10/2005 08:48:34
 
 
To
10/10/2005 18:07:28
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01057720
Message ID:
01057913
Views:
21
Thanks for the information Colin. Is there anyway to 'shrink to fit?' (like in Adobe Acrobat where it is actually accomplished by setting the font size to 'auto' in form fields)

By the way, it would nice if the scroll button on the mouse worked when in the report designer. Having to modify hundreds of reports as I am now, out of habit I keep scrolling with my mouse button to move up/down in the report to no avail.



>Tracy -
>
>I have been playing around with the trim mode and so far Trim to Nearest Character returns the best results. [..] Also, what exactly is Default Trimming in VFP9 and how does it differ from the other trim options?
>
>I can answer part of your question here:
>
>GDI+ allows several different ways that a truncated string can be expressed. The ReportBuilder application exposes these settings in the Format tab of the new Field/Expression Properties dialog box:
>
>You might expect the default mode to be "Trim to nearest word" so as to ensure backward-compatibility with earlier versions of FoxPro. It's not. "Default Trimming" actually means "Use whatever the default string trimming mode of the ReportListener class that is processing the report". And, by default, that is "Trim to nearest word plus elipsis":
>
>The decision to use this particular default mode was made mainly because GDI+ requires a little additional width to render text (MSDN includes a good description of why this is so), and as a consequence, any reports designed with tight space constraints in previous versions of FoxPro might well experience text expression truncation in VFP9. The visible indication of the truncation is desirable because otherwise it would be easy to miss that it happens at all, unless you were very familiar with the data being displayed.
>
>I hope this helps.
>- Colin
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform