471,610 Members | 1,312 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,610 software developers and data experts.

Textbox, label or custom control ?

I'm in the process of writing an editor/debugger. I need to be able to
able to get/set line numbers of the displayed text (i.e. source) and to
be able to get/set forecolor and backcolor of a specified line(s).

Is there a control I can use for this (i.e. textbox or label?) or do I
have to "roll my own". Any ideas/sugestions welcome.

MTIA

Dec 18 '05 #1
1 1868
Susan Baker wrote:
I'm in the process of writing an editor/debugger. I need to be able
to able to get/set line numbers of the displayed text (i.e. source)
and to be able to get/set forecolor and backcolor of a specified
line(s).

Is there a control I can use for this (i.e. textbox or label?) or do
I have to "roll my own". Any ideas/sugestions welcome.


You could look at the richtextbox, although showing line numbers will
be a bit problematic. The colors are easy to do.

You could also look at SyntaxEditor from actipro software
(www.actiprosoftware.com). I use that too in my template studio IDE,
it's ideal for creating an editor, as everything is already build in :)

FB

--
------------------------------------------------------------------------
Get LLBLGen Pro, productive O/R mapping for .NET: http://www.llblgen.com
My .NET blog: http://weblogs.asp.net/fbouma
Microsoft MVP (C#)
------------------------------------------------------------------------
Dec 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Visual Systems AB \(Martin Arvidsson\) | last post: by
4 posts views Thread by Jurjen de Groot | last post: by
2 posts views Thread by Pham Nguyen | last post: by
1 post views Thread by Dave Wurtz | last post: by
1 post views Thread by rn5a | last post: by
3 posts views Thread by John Heitmuller. | last post: by
1 post views Thread by XIAOLAOHU | last post: by
reply views Thread by leo001 | last post: by
reply views Thread by MichaelMortimer | last post: by
1 post views Thread by ZEDKYRIE | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.