Click here to Skip to main content
15,915,083 members
Home / Discussions / C#
   

C#

 
QuestionIntelligent Datagrid in C# Pin
| Muhammad Waqas Butt |5-Sep-05 6:09
professional| Muhammad Waqas Butt |5-Sep-05 6:09 
AnswerRe: Intelligent Datagrid in C# Pin
tolgattt5-Sep-05 10:35
tolgattt5-Sep-05 10:35 
GeneralRe: Intelligent Datagrid in C# Pin
| Muhammad Waqas Butt |6-Sep-05 22:49
professional| Muhammad Waqas Butt |6-Sep-05 22:49 
QuestionIntelligent Datagrid Pin
| Muhammad Waqas Butt |5-Sep-05 6:08
professional| Muhammad Waqas Butt |5-Sep-05 6:08 
QuestionUse MeasureDisplayStringWidth to Set Button.Width property Pin
ehollar5-Sep-05 5:46
ehollar5-Sep-05 5:46 
AnswerRe: Use MeasureDisplayStringWidth to Set Button.Width property Pin
ehollar5-Sep-05 12:26
ehollar5-Sep-05 12:26 
QuestionSystem.Data.NoNullAllowedException Pin
rich_wenger5-Sep-05 5:19
rich_wenger5-Sep-05 5:19 
QuestionRichtextBox Problem Pin
snouto5-Sep-05 5:07
snouto5-Sep-05 5:07 
how are you Dudes ?
I have one probelm in my application i need to display multiple lines in richtextbox but each line has its own attributes of new font , size and new color how can i manage this in the richtextbox knowing that i succeeded to do that using the following code but there was a small probelm .
<br />
int index = richtextbox1.Find(string message , 0 , message.length);<br />
richtextbox1.select(index , 0 , message.length);<br />
richtextbox1.selectionFont = new font(font attributes goes here of the new font);<br />
richtextbox1.selectionColor = Color.Blue // for example<br />

But with the above code it will certainly manage every new written line with its new font and color attributes but if i entered two or more sentences similar to each other the first one of them will be only changed and the newly entered message which is similar to the previous will have the defaul color and font.
So the question is :
How can i inset multiple lines of texts each of which with different font and color attributes.

Miss With The Best And Die Like The Rest
AnswerRe: RichtextBox Problem Pin
philip_cole5-Sep-05 6:20
philip_cole5-Sep-05 6:20 
QuestionType casting issue Pin
arusmemon5-Sep-05 4:51
arusmemon5-Sep-05 4:51 
AnswerRe: Type casting issue Pin
Luis Alonso Ramos5-Sep-05 14:35
Luis Alonso Ramos5-Sep-05 14:35 
QuestionDate Time Picker MinMaxDate Pin
Greeky5-Sep-05 4:34
Greeky5-Sep-05 4:34 
AnswerRe: Date Time Picker MinMaxDate Pin
Luis Alonso Ramos5-Sep-05 7:22
Luis Alonso Ramos5-Sep-05 7:22 
QuestionThe weird control problem Pin
doph5-Sep-05 4:34
doph5-Sep-05 4:34 
QuestionDLL in C++ with pointers. How to use it in C#? Pin
patgo5-Sep-05 4:18
patgo5-Sep-05 4:18 
AnswerRe: DLL in C++ with pointers. How to use it in C#? Pin
RobVai6-Sep-05 16:37
RobVai6-Sep-05 16:37 
QuestionDelay during first use of Exception Pin
harwanegg5-Sep-05 3:28
harwanegg5-Sep-05 3:28 
AnswerRe: Delay during first use of Exception Pin
Andy Brummer5-Sep-05 4:12
sitebuilderAndy Brummer5-Sep-05 4:12 
AnswerRe: Delay during first use of Exception Pin
Daniel Turini5-Sep-05 6:38
Daniel Turini5-Sep-05 6:38 
GeneralRe: Delay during first use of Exception Pin
harwanegg5-Sep-05 20:21
harwanegg5-Sep-05 20:21 
QuestionT-SQL Clause Pin
Greeky5-Sep-05 3:18
Greeky5-Sep-05 3:18 
AnswerRe: T-SQL Clause Pin
Andy Brummer5-Sep-05 4:20
sitebuilderAndy Brummer5-Sep-05 4:20 
QuestionNumber Formatting Pin
Brendan Vogt5-Sep-05 1:56
Brendan Vogt5-Sep-05 1:56 
AnswerRe: Number Formatting Pin
Guffa5-Sep-05 2:37
Guffa5-Sep-05 2:37 
QuestionOverlapping Images Pin
dhanunjay5-Sep-05 1:49
dhanunjay5-Sep-05 1:49 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.