C# Tutorial - Multiple Color In RichTextBox | FoxLearn

preview_player
Показать описание
How to use Multiple Color in RichTextBox using C# step by step. The C# Basics beginner course is a free C# tutorial series that helps beginning programmers learn the basics of the C# Programming Language

c# - Color different parts of a RichTextBox
c# - How to use multi color in richtextbox
c# - Change color of text within a WinForms RichTextBox
How to Change Color of Specific Text in RichTextBox in C#
Multiple Colored Texts in RichTextBox using C#
How Do I Color A Specific Word In A Rich Text Box In C#
Write lines to a RichTextBox control in different color in C#
Рекомендации по теме
Комментарии
Автор

This is great, I wish there were more hours in the day to mess with C# and your tutorials. you can grab bits of this tutorial and bits of that tutorial and put them together to make a awesome application to suit your purposes but useless things like eating and sleeping get in the way.. :)

Andrew-xbhl
Автор

Thank YOU so much YOU re wonderfful and make nice Job :) Thank YOU for Your help!

انامسلموكفى
Автор

can it be done to have more color in a row? For example:
Hello (red) World (blue)

balintnemeth
Автор

Please make a video about how to save the RichtextBox after using multiple colours and formats.

MrTiger-crfo
Автор

How about saving formatted richtextbox to SQL server or any database? do you have tutorial?

jamesamestosopalin
Автор

wow...thank you for this video. It helps me a lot. :D

yeakleang
Автор

thanks all of your videos. you learned me something.
what's yours using screen record's name

dzar
Автор

i have 2 richtextboxes 1 to type and send message and one to show messages and want to color the text with user choice
{
InitializeComponent();
}

Color _color = Color.Blue;
bool _first = true;

private void button7_Click(object sender, EventArgs e)
{
rtfResult.SelectionColor = _color;
if (_first)
rtfResult.SelectedText = txt.Value.Text;
else
rtfResult.SelectedText = Environment.NewLine + txtValue.Text;
_first = false;
txtValue.Clear();
txtValue.Focus();

private void button17_Click_1(object sender, EventArgs e)
{
if (colorDialog1.ShowDialog() == DialogResult.OK)
{
_color = colorDialog1.Color;
button17.BackColor = _color;
}

}

and I have errors and it does not work

davidhouser
Автор

please.. How do Ping test output text color?

masud
welcome to shbcf.ru