Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Report (right justify text)
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
01045289
Message ID:
01045343
Views:
28
I don't have VFP7 but I see in VFP9 that text in the detail records is misaligned if proportional font is used. Looks like a bug to me. It seemse to be aligned properly with non-proportional font like "Courier New'. It's also properly aligned with any font when SET REPORTBEHAVIOR 90.

>I found a weird problem in Fox Pro 7 with right justification.
>
>To reproduce it create a report with only a detail band and a textbox containing Alltrim(PrintReport.Desc) with a Microsoft Sans Serif 9 Bold font.
>
>In the BeforeOpenTables (Dataenvironment) put this
>
>
>CREATE CURSOR PrintReport (Desc C(50))
>
>SELECT PrintReport
>APPEND BLANK
>Replace Desc WITH "Some text"
>APPEND BLANK
>Replace Desc WITH "More text and Some text"
>APPEND BLANK
>Replace Desc WITH "This is a very larger string"
>
>
>Preview the report.
>
>Now remove the Bold and try again.
>
>Anyone knows what is causing this behavior ?
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform