Is it possible to change partial text areas in a text box? For example I need to code my program so it highlights certain text or makes certain text another color. Thanks.
Printable View
Is it possible to change partial text areas in a text box? For example I need to code my program so it highlights certain text or makes certain text another color. Thanks.
Use the Rich Textbox control which you will find in Project|Components|Microsoft Rich Textbox Control.
Yes but doesn't the text that I want to change have to be highlighted? Like SelColor for example?
Is there a way to highlight the text with code?
No, you can manually set the SelStart and SelLength values.
Cool thanks! :cool: