|
-
Sep 1st, 2003, 09:25 AM
#1
Thread Starter
Fanatic Member
TextBox Replacment
My goal is some sort of multiline, unlimited length (unlike TextBox) edit control, with which I can apply different fonts, text colors, and highlight colors. I do NOT want to use the RichTextBox, because it is just too slow. I wrote a function to color Transact-SQL code like Microsoft's Query Analyzer does, and it can take a minute to apply the coloring to a 100 KB file. Anyways, I don't need a control that can load/save rich text documents -- the control will color the document based on a set of rules (like Query Analyzer). I know there's at least one control (CodeMax) that provides this sort of functionality, but it's written in C++ and therefore not an option (it must be maintainable and my company doesn't use C++).
Does anyone here know of a usercontrol written to perform the above functionality or a more basic one, that does NOT inherit Microsoft's TextBox or RichTextBox controls? This would include code that shows the blinking cursor at the rate the user has specified in settings, storage schemes for text, selecting of text, etc.
Actually, any direction on building a TextBox from Control or UserControl (again, not inheriting from TextBox or RichTextBox) would be very helpful.
Thanks in advance.
I have two simple requests: 1) Use useful and specific topics. 2) Modify your topic to include [Resolved] when you problem has been resolved. Both of these make the bulletin boards more useful and efficient. Thanks.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|