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

text editing options on a form?

Status
Not open for further replies.

MichHart

Programmer
Dec 14, 2002
56
CA
I would like to know how to put editing options on a textbox on a form. Such things as copy, paste, font, color, bold, italics, and underline.

I have a picture of one that I have seen but I don't know how to do it.

I have the textbox created as a richtext textbox, but how do i allow the user to make appearance changes to the text?

Sincerely
MichHart
 

Check out the sel properties (selstart, sellength, seltext, selbold...)

Good Luck

 
This will give me buttons that will allow the user to make the text bold, underline, etc????

MichHart
 

Yes you can program buttons to set these properties, but from the sounds of it, it seems you are asking about customizing a toolbar. If this is the case then start vb and select the vb application wizard. This will create a form for you with a toolbar, status bar, and a text box that you can delete and replace with the richtextbox.

Good Luck

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top