|
-
Sep 11th, 2000, 08:24 AM
#1
Thread Starter
Member
Is it possible to have some text bold in a textbox and other text not so bold? I don't think so, but I would be ecstatic to find that I'm wrong.
-
Sep 11th, 2000, 08:44 AM
#2
Fanatic Member
Not in a standard text box you cant.
If you use a RichTextBox then you can. You can find that as a component to add to your Project. Microsoft Rich TextBox Control
Iain, thats with an i by the way!
-
Sep 11th, 2000, 08:48 AM
#3
Thread Starter
Member
Follow up
:?
Is there any way that you can save just the text that's in a richtext box without the formatting? That's why I chose not to use it (because of all of the extraneous code stuck in the saved file). I'm doing text editing for web stuff and only want the text but would like to use formatting to help me make sure I closed all my tags and whatnot.
-
Sep 11th, 2000, 08:53 AM
#4
Fanatic Member
There is indeed. You can use the SaveFile Method woth the flag rtfText. This forces it to save as a plain text file.
Code:
RichTextBox1.SaveFile "c:\iain\iain.txt", rtfText
Iain, thats with an i by the way!
-
Sep 11th, 2000, 08:56 AM
#5
Thread Starter
Member
Massive ReWrite...
Well, now you've done it. You've made it worth it to try to revamp my whole dang application that is built around a textbox for editing rather than a RichTextBox.
Actually I really appreciate it. If I have any questions about things that used to work with a text box that don't with the RTFbox, can I e-mail you? I'll try to keep it down to 10 a day.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|