Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Text report by Hilmar Zonneveld
Message
De
14/08/2005 11:13:19
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
14/08/2005 11:09:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01040780
Message ID:
01040789
Vues:
16
>I removed the chr(66) for the PC_RESET in textreport.txt and change the printout to this.print(), everything works perfectly.

The PC_RESET, I understand, but I don't quite understand why This.PrintLine() would produce an additional line. Do you explicitly include a new-line symbol, like chr(13) + chr(10)? You should not do this; if you do, the class can't keep track of line and column positions (for example, a new page, with the corresponding methods GroupHeader(), GroupFooter(), PageHeader(), will be issued automatically once a certain number of lines are printed). Instead, to advance an additional line, you should use This.PrintLine().
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform