Click here to Skip to main content
15,892,517 members
Home / Discussions / C#
   

C#

 
GeneralRe: validator Pin
ABBASI_RA8-Mar-05 2:43
ABBASI_RA8-Mar-05 2:43 
GeneralRe: validator Pin
chettu8-Mar-05 3:19
chettu8-Mar-05 3:19 
GeneralQuestion on PDA Pin
RockRock6-Mar-05 20:08
RockRock6-Mar-05 20:08 
Generalcoloured lines in a multilined textbox Pin
maheshfour6-Mar-05 18:30
maheshfour6-Mar-05 18:30 
GeneralRe: coloured lines in a multilined textbox Pin
Anonymous6-Mar-05 19:33
Anonymous6-Mar-05 19:33 
GeneralRe: coloured lines in a multilined textbox Pin
Robert Rohde6-Mar-05 20:12
Robert Rohde6-Mar-05 20:12 
GeneralRe: coloured lines in a multilined textbox Pin
maheshfour6-Mar-05 20:38
maheshfour6-Mar-05 20:38 
GeneralRe: coloured lines in a multilined textbox Pin
Robert Rohde6-Mar-05 20:59
Robert Rohde6-Mar-05 20:59 
The RichTextBox can display documents in rtf format. Create a Word document, save it as rtf and load it into the richtextbox and youll see that it is rathe rpowerful.
To understand how the text must be build to make certain formattings or colors I would suggest that you make samples of what you try to achieve in word and then look into the Rtf property.
To just change the color (and also some other properties) of specific words or lines the following way is the easiest:
1. Call the Select method to select some part of the displayed text.
2. Set the SelectionColor property to change the color of the selected text.


Generalblit question Pin
theDexter6-Mar-05 17:10
theDexter6-Mar-05 17:10 
GeneralRe: blit question Pin
Robert Rohde6-Mar-05 21:24
Robert Rohde6-Mar-05 21:24 
GeneralRe: blit question Pin
theDexter7-Mar-05 2:40
theDexter7-Mar-05 2:40 
GeneralRe: blit question Pin
Robert Rohde7-Mar-05 5:04
Robert Rohde7-Mar-05 5:04 
GeneralRe: blit question Pin
theDexter7-Mar-05 8:28
theDexter7-Mar-05 8:28 
GeneralRe: blit question Pin
theDexter7-Mar-05 9:32
theDexter7-Mar-05 9:32 
GeneralENTER key Pin
ABBASI_RA6-Mar-05 15:13
ABBASI_RA6-Mar-05 15:13 
GeneralRe: ENTER key Pin
Vasudevan Deepak Kumar6-Mar-05 19:30
Vasudevan Deepak Kumar6-Mar-05 19:30 
GeneralRe: ENTER key Pin
Gamya6-Mar-05 19:59
sussGamya6-Mar-05 19:59 
GeneralRe: ENTER key Pin
Bahadir Cambel7-Mar-05 4:48
Bahadir Cambel7-Mar-05 4:48 
Generalstupid string question Pin
Anonymous6-Mar-05 12:27
Anonymous6-Mar-05 12:27 
GeneralRe: stupid string question Pin
Christian Graus6-Mar-05 13:02
protectorChristian Graus6-Mar-05 13:02 
GeneralRe: stupid string question Pin
TrevorBo7-Mar-05 4:55
TrevorBo7-Mar-05 4:55 
GeneralSecurity question Pin
oohungoo6-Mar-05 4:06
oohungoo6-Mar-05 4:06 
GeneralRe: Security question Pin
Luis Alonso Ramos6-Mar-05 15:00
Luis Alonso Ramos6-Mar-05 15:00 
GeneralCLR interpretation (type conversion between managed c++ and c#) Pin
sympthom 96-Mar-05 4:01
sympthom 96-Mar-05 4:01 
Generaltrying to make a reference to a dataset Pin
abdelmohsen6-Mar-05 3:48
abdelmohsen6-Mar-05 3:48 

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.