Click to See Complete Forum and Search --> : Make the selected text bold


rino_2
January 30th, 2000, 04:28 AM
Hi,

Now don't get me wrong, I'm no beginner but I just have not done this for a year so I have forgot. I want to select some text and make only the selected text bold when the bold button is pressed. I tried this:

------------------------------------
txtComment.Seltext = txtComment.Font.Bold
------------------------------------

What wrong here?

Thanks

Lothar Haensler
January 31st, 2000, 01:07 AM
in a text box you cannot make parts of the Text bold. Use a RichtText Control instead.