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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

change the font of a text file

Status
Not open for further replies.

rumman

Programmer
Feb 10, 2002
20
0
0
US
dear expert,

i was trying to change the font of a text file in runtime. i couldnt do it with a text file,but i did it with an RTF file.

so i tried to save the text file into an RTF file and then change the font. the error message said bad file mode.when i looked into the RTF file, i found that eventhough the file was named RTF it was still a txt file propertywise.

pls help -> how will i change the font of a text file during runtime?

thankyou for your time
rumman
 
Text files don't have a font. They just store the character values. It's only when you display a text file that you can control it's appearance Let me know if this helps
________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first

'There are 10 kinds of people in the world: those who understand binary, and those who don't.'
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top