Click here to Skip to main content
15,922,015 members
Home / Discussions / C#
   

C#

 
AnswerRe: I want a Clever Text Display Pin
R. Giskard Reventlov2-Jul-10 5:12
R. Giskard Reventlov2-Jul-10 5:12 
AnswerRe: I want a Clever Text Display Pin
OriginalGriff2-Jul-10 5:32
mveOriginalGriff2-Jul-10 5:32 
GeneralRe: I want a Clever Text Display Pin
Nagy Vilmos2-Jul-10 5:46
professionalNagy Vilmos2-Jul-10 5:46 
AnswerRe: I want a Clever Text Display Pin
OriginalGriff2-Jul-10 5:33
mveOriginalGriff2-Jul-10 5:33 
GeneralRe: I want a Clever Text Display Pin
Nagy Vilmos2-Jul-10 5:47
professionalNagy Vilmos2-Jul-10 5:47 
GeneralRe: I want a Clever Text Display Pin
OriginalGriff2-Jul-10 5:54
mveOriginalGriff2-Jul-10 5:54 
GeneralRe: I want a Clever Text Display Pin
Nagy Vilmos2-Jul-10 7:14
professionalNagy Vilmos2-Jul-10 7:14 
AnswerRe: I want a Clever Text Display Pin
Luc Pattyn2-Jul-10 7:03
sitebuilderLuc Pattyn2-Jul-10 7:03 
For that kind of functionality, as it is line-oriented, I'd go for a ListBox, not a TextBox/RichTextBox.
Fancy styling/coloring/... requires a UserDrawn mode; no biggy.
You could, not saying you should, load everything in the ListBox, and decide which of all those items are actually visible. No data movement at all!

The one thing you have to add yourself is the RTF output, since now RTF is not used for visualization; you can implement a Key event handler that acts on CTRL/C or CTRL/S (or whatever) and saves the selected items in the appropriate format. The drawback here is you would be emitting RTF code that you haven't looked at yet. You may consider adding a preview in an actual RTB.

Smile | :)

PS: Make sure the leprous clown brings a pot of gold with him.
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum
Please use < PRE > tags for code snippets, it preserves indentation, and improves readability.


GeneralRe: I want a Clever Text Display Pin
Nagy Vilmos2-Jul-10 7:12
professionalNagy Vilmos2-Jul-10 7:12 
GeneralRe: I want a Clever Text Display Pin
Luc Pattyn2-Jul-10 7:20
sitebuilderLuc Pattyn2-Jul-10 7:20 
GeneralRe: I want a Clever Text Display Pin
Nagy Vilmos2-Jul-10 10:53
professionalNagy Vilmos2-Jul-10 10:53 
GeneralRe: I want a Clever Text Display Pin
Luc Pattyn2-Jul-10 11:31
sitebuilderLuc Pattyn2-Jul-10 11:31 
GeneralRe: I want a Clever Text Display Pin
Nagy Vilmos2-Jul-10 21:44
professionalNagy Vilmos2-Jul-10 21:44 
GeneralRe: I want a Clever Text Display Pin
Mycroft Holmes2-Jul-10 22:31
professionalMycroft Holmes2-Jul-10 22:31 
QuestionCross Platform C#.NET Application Development [modified] Pin
LazyDragonfist2-Jul-10 5:02
LazyDragonfist2-Jul-10 5:02 
AnswerRe: Cross Platform C#.NET Application Development Pin
Richard MacCutchan2-Jul-10 5:09
mveRichard MacCutchan2-Jul-10 5:09 
GeneralRe: Cross Platform C#.NET Application Development Pin
LazyDragonfist2-Jul-10 5:38
LazyDragonfist2-Jul-10 5:38 
QuestionChart Control Pin
It_tech2-Jul-10 3:20
It_tech2-Jul-10 3:20 
QuestionWebBrowser control reset Pin
Etienne_1232-Jul-10 1:13
Etienne_1232-Jul-10 1:13 
AnswerRe: WebBrowser control reset Pin
Ayman Kouzayha2-Jul-10 1:19
Ayman Kouzayha2-Jul-10 1:19 
GeneralRe: WebBrowser control reset Pin
Etienne_1232-Jul-10 2:07
Etienne_1232-Jul-10 2:07 
GeneralRe: WebBrowser control reset Pin
Ayman Kouzayha2-Jul-10 7:28
Ayman Kouzayha2-Jul-10 7:28 
Questionhow to get the work done back when kept in keep queue.... Pin
Nivas821-Jul-10 23:35
Nivas821-Jul-10 23:35 
AnswerRe: how to get the work done back when kept in keep queue.... Pin
R. Giskard Reventlov1-Jul-10 23:56
R. Giskard Reventlov1-Jul-10 23:56 
QuestionHow to use Combo.SetEditSel in C# Pin
raju_shiva1-Jul-10 22:17
raju_shiva1-Jul-10 22:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.