Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid containg a Container containing a RTF Control won't
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 6 SP5
Divers
Thread ID:
01121752
Message ID:
01121953
Vues:
17
This message has been marked as a message which has helped to the initial question of the thread.
For bold print you would need to imbed the codes used by the printer. Assumining that you are using a laser printer you could try the codes used by the old HP printers. Most all laser printers still accept them.

For bold on: chr(27)+"s3B"
For bold off: chr(27)+"s-3B"

The upper lower case here is real important. Try changing the 3 to a 4 or higher if you want. It's the stroke weight.

Understand this is just a shot in the dark. I haven't played with this stuff in over eight years. Also remember that it will affect your alignment when printing as the extra characters will be included when VFP calulates the memo width.

HTH
John

>Hi Sergey
>
>>It's not going to work. See Add an Active X Control to a Grid.. Thread #867023
>
>Okay. I won't do it. The client wanted to highlight bits of text and those were then required to be printed, unfortunately RTF won't print easily (late Ed Rauh's FAQ) and definately not the way I was wanting it.
>
>Is there any way to imbedded printer codes in memo fields to report manager so that portion can be made bold?
>
>Bold bits of text is the only requirement that was pushing me towards RTF.
>
>Any suggestions.
Beer is proof that God loves man, and wants him to be happy. - Benjamin Franklin
John J. Henn
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform