How to Highlight a sentence row by row? For example I made a simple notepad written in VB.net. Then, I'd like to hightlight a row by row automatically and manually. lets say I have a button named "auto" to highlight row downward automatically , and I have a button named "downward" to highlight row downward everytime I click the button downward, and button name "upward" to highlight row upward everytime I click the button upward.
Thanks for advance.

best regards,
glenndr_15

You could also use a multiline textbox, get the selected index, then select the lines you want to higlight

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.