First you need to change the color of the text before putting it in the rtb. rtb.SelectionColor = System.Drawing.Color.Red; rtb.AppendText(outText); changing other attributes rtb.SelectionColor = System.Drawing.Color.Blue; System.Drawing.Font fBold = new System.Drawing.Font("Courier New", 10, fontBold); rtb.SelectionFont = fBold; rtb.AppendText(outText); good luck
B
Bit_flipper
@Bit_flipper
Posts
-
How to change the color of second line in RichText Box? -
advanced subqueryHi, I am using MS Sql Server I have the following tables already in place, the tables are already done and the requirement is not to change any columns/tables structures. I have four tables: 1- Person: has person info, first, last, etc. 2- Departments: has the company departments names. 3- Meetings: has the meeting date, time, location, and two department names whom should participate. 4- NoShows: a log of the personId and meetingId for those who did not show up to the meeting. I need a select query for selected meeting to show all personId and a field of F/T flag for each person whom showed up or no-show. I know how to do everything. Any comments are greatly appreciated. Bit_Flipper :~