HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

richt text box

05-13-2007, 06:15 PM#1
Mapz_Maker
In a rich text box (with C#) how do you highlight text without making the user select the text? i am having trouble with this since as it races through highlighting text, it slows down the users ability to do anything tremendously.
05-18-2007, 08:27 AM#2
PitzerMike
Try to ask such general questions in a C# development forum.
You'll get more help there, I'm sure.
06-20-2007, 09:47 PM#3
Oglog
Firstly i agree with mike (have you tried http://www.codeproject.com/)
Secondly what do you mean by highlighting if you don't mean selecting (changing backround colour of certain text?)
06-22-2007, 01:54 PM#4
Mapz_Maker
What i was (and still am) referring to was that to change the color of text in a rich text box, you must call a set of methods over and over to select a section of text then change its color and on and on. This would not matter to me except that it is extremely slow. if you have 25 key words on screen that is a matter of about 3 - 4 seconds of highlighting. That is ridiculously slow for the purposes of an IDE, considering there could be 250 keywords at any given time. I know there is a better way because when programming in Microsoft's Visual C# Studio Express Edition the highlighting is instantaneuos and not noticable.