Most voted "richtextbox" questions
It is a control that allows you to display or edit content like paragraphs, images, tables and others.
Learn more…12 questions
Sort by count of
-
5
votes2
answers3064
viewsSwap line break " n" for " r n" in Richtextbox
I have a RichTextBox that needs to count the breaks of lines as "\r\n", but she’s counting as "\n". Example: "Hello, (User squeezes Enter)world!" To RichTextBox interpret like this: "Olá," + "\n" +…
-
2
votes1
answer257
viewsC# How to Select and Color all text within a given line in Richtextbox?
In C# I have a Richtextbox, inside it has several lines, what I want to do is select all text within a certain line and color. What I’m doing is this: richTextBox1.Select(0,…
-
1
votes1
answer966
viewshelp adding text from richtextbox 1 with richtextbox2 C#
Hello, I would like to know how I do, so when I type in richtextbox1 the text appears in richtextbox2, exactly as if it were a line counter, each time you press enter, only with a number of its own,…
-
1
votes1
answer533
viewsRichedit Delphi messes up text when writing to Postgresql database
I’ve tried almost everything. I have a system in Delphixe6 with Postgresql, in it I have some Text type fields that I need to record formatted text (bold, italics, background color, etc) like word,…
-
1
votes1
answer247
viewsHow to insert this text in Postgresql?
I am using a Delphi query and need to insert the text below in a text field {\rtf1\ansi\ansicpg1252\deff0{\fonttbl{\f0\fswiss\fprq2\fcharset0 Calibri;}{\f1\froman\fcharset0 Times New…
-
0
votes1
answer316
viewsHow to change the font in Richtextbox?
I wonder how I do to edit the font and color of a Richtextbox word in C# And if possible how I do to number the lines.
-
0
votes1
answer95
viewsSolve color problem in richtextbox in C#
How do I click on button1 the text of richTextBox2 become a certain color, and I click on button2 text from the vertical input bar | become the color of the button2, my code below makes the color…
-
0
votes1
answer144
viewsHow to highlight a word using REGEX
I need to colorize a text in Richtextbox before a string For example: "Highlight: normal highlight"
-
0
votes1
answer40
viewsWhy does the matrix get extra lines?
private void abrirLabirintoToolStripMenuItem_Click(object sender, EventArgs e) { OpenFileDialog Abrir = new OpenFileDialog(); Abrir.ShowDialog(); string CarregaArq = null; string teste = null;…
-
0
votes0
answers59
viewsHow to pass information from a Ritchtextbox to word document
How do I pass the information that is in a Richtextbox to a word document in C#. Code: String strtxt = rtbVertigo.Text; TextWriter sw = new StreamWriter(@"D:\Users\edv\Desktop\WORD\Vertigo.doc");…
-
0
votes1
answer187
viewsWhat is the safe way to work with Tricheedit Database?
I’m asking this question because for days I’m having a huge pain in the ass with this junk from Richedit, time he saves right time he saves a lot of ??????????????????????? at the base... I know it…
-
0
votes1
answer17
viewsRow position and column that was clicked inside the Richtextbox
I have a simple application that only reads a file and returns what is in it within a richtextbox. The Point is when I click on the inside of the richtextbox, I would have to turn to the position of…