Developer Network
Developer Network
Developer Network
:CreateViewProfileText:
Sign in
Subscriber portal
Get tools
Downloads
Visual Studio
SDKs
Trial software
Free downloads
Office resources
Programs
Subscriptions
Overview
Administrators
Students
Microsoft Imagine
Microsoft Student Partners
ISV
Startups
Events
Community
Magazine
Forums
Blogs
Channel 9
Documentation
APIs and reference
Dev centers
Samples
Retired content
We’re sorry. The content you requested has been removed. You’ll be auto redirected in 1 second.
This forum has migrated to
Microsoft Q&A
.
Visit
Microsoft Q&A
to post new questions.
Learn More
Ask a question
Quick access
Forums home
Browse forums users
FAQ
Search related threads
Remove From My Forums
Answered by:
how to select multiple lines in a rich text box?
Archived Forums
>
Visual C#
Question
0
Sign in to vote
I want select multiple lines (lets say line number 2 & 6) using ctrl key in richtextbox. whenever i am using richtextbox.select() twice the previous selection is going off. How to select mutliple lines?
Monday, November 23, 2009 8:05 AM
Answers
1
Sign in to vote
Rich text box doesn't support disjoin selections, so you just can't do that.
Proposed as answer by
CiaranODonnell
Monday, November 23, 2009 11:08 AM
Marked as answer by
Chandra Shekhar Sengupta
Monday, November 23, 2009 12:24 PM
Monday, November 23, 2009 10:11 AM