Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid containg a Container containing a RTF Control won't
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 6 SP5
Miscellaneous
Thread ID:
01121752
Message ID:
01121953
Views:
13
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform