Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

turn-on and off fontbold

Status
Not open for further replies.

jh508

Technical User
Mar 26, 2001
8
0
0
US
I have a form that I need to turn-on fontbold and then turn-off the fontbold when listing the contents of a text box. I have used the following:
printer.print fontbold = true
printer.print "how can you do this";
printer.print fontbold = false
printer.print frm1.txt1.text

when i do this in vb5 the form prints all bold?
can anyone help please!!!!
 
I've no experience in VB5, but in VB6 turning bold off would be

Printer.FontBold = False

not

Printer.Print FontBold = False

If this holds true for VB5 then Bold is probably still on from a previous call (and never turned off) causing the whole thing to print Bold. My other thought is that maybe you're using a font that only comes in Bold flavor (some do). "It's got to be the going,
not the getting there that's good!"
-Harry Chapin
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top