Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Report (right justify text)
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
01045289
Message ID:
01045343
Vues:
26
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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform