473,396 Members | 2,154 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

Add line numbers to richtextbox

Hi,

Can anyone help on how to add a line number section to a RichTextBox? In the
same way any code editor have...

thanks in advance

Jun 16 '06 #1
2 2895
Hi,

You will have to implement this yourself
Alternatively you could search for a third party component that has this
feature already.

If you are going to implement it yourself take a look at opennetcf.org owner
draw control. it will give a good idea of how to draw your own control
--
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"coding" <no********@gmail.com> wrote in message
news:OS**************@TK2MSFTNGP03.phx.gbl...
Hi,

Can anyone help on how to add a line number section to a RichTextBox? In
the
same way any code editor have...

thanks in advance

Jun 16 '06 #2
very thanks !

"Ignacio Machin ( .NET/ C# MVP )" <ignacio.machin AT dot.state.fl.us> дÈëÏû
Ï¢ news:e#**************@TK2MSFTNGP05.phx.gbl...
Hi,

You will have to implement this yourself
Alternatively you could search for a third party component that has this
feature already.

If you are going to implement it yourself take a look at opennetcf.org owner draw control. it will give a good idea of how to draw your own control
--
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"coding" <no********@gmail.com> wrote in message
news:OS**************@TK2MSFTNGP03.phx.gbl...
Hi,

Can anyone help on how to add a line number section to a RichTextBox? In
the
same way any code editor have...

thanks in advance


Jun 16 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Cengiz Ulku | last post by:
Hi, How can look for only the numbers in a RTB control? I know for instance how to search for a string by using: : Private Sub Command1_Click() Dim FoundPos As Integer Dim FoundLine As...
1
by: Miguel | last post by:
Hi, Can anyone help on how to add a line number section to a RichTextBox? In the same way any code editor have... thanks in advance
2
by: Martin Dew | last post by:
I have a RichTextBox called rtbOutput. I am adding lines of text using the AppendText method. What I want to do is immediately after adding this line of text make sure that this line of text is...
22
by: DraguVaso | last post by:
Hi, For my application I need the following behavior: When I press F4 the cursor has to move to the next line in my multiline textbox which begins with "0". Finding lines starting with 0 isn't...
4
by: M O J O | last post by:
Hi, I'm using a RichTextBox with WordWrap=True and MultiLine=False. When the text is to long, it fills more lines. How do I get the number of lines the text uses? Thanks!
2
by: Just Me | last post by:
I insert text in a RichTextBox ending each line with vbCrLf. I think when I search the RichTextBox text I do not find any CR's. In the Text property is the end of line char a LineFeed? Are...
0
by: John Smith | last post by:
I have text files and I get binary offsets of text portion of these files from VB6 program with RichTextBox. I use VB.Net 2003 and need to select and highlight the text between given offsets....
3
by: Adam Eavy via DotNetMonster.com | last post by:
Hi, could any1 kindly tell me how to implement line numbers with a rich text box (im making my own scripting language and really need line numbers!) Ive looked all over the net for over 4 days...
4
by: Franky | last post by:
What I want to do is delete the last line in a RichTextBox. The RichTextBox has a ReadOnly property called lines that seems like it might help but I cant figure out how to use it. Well, the...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.