Click here to Skip to main content
16,005,473 members
Home / Discussions / C#
   

C#

 
Generalxpath & xsl in .net compact framework Pin
Anonymous26-Mar-05 6:45
Anonymous26-Mar-05 6:45 
GeneralSetting Invoked Array Pin
Ox53746F6E6526-Mar-05 5:45
Ox53746F6E6526-Mar-05 5:45 
Generalretrieving REG_EXPAND_SZ value Pin
Crimson C U B E26-Mar-05 2:49
Crimson C U B E26-Mar-05 2:49 
GeneralTextBox Validation Pin
| Muhammad Waqas Butt |26-Mar-05 2:04
professional| Muhammad Waqas Butt |26-Mar-05 2:04 
GeneralRe: TextBox Validation Pin
Luis Alonso Ramos26-Mar-05 7:12
Luis Alonso Ramos26-Mar-05 7:12 
GeneralRe: TextBox Validation Pin
maheshfour27-Mar-05 22:57
maheshfour27-Mar-05 22:57 
GeneralRe: TextBox Validation Pin
ameto31-Mar-05 23:19
ameto31-Mar-05 23:19 
GeneralRichTextBox question! Pin
QzRz26-Mar-05 0:47
QzRz26-Mar-05 0:47 
Hi...

I have an RichTextBox, and i want to make the textcolor/backgroundcolor diffrent from the other text, but it is not all the text wich should be diffrent... only some of it!

I have tried this...

int WordID = 5;
richTextBoxText.Select(0, WordID);
richTextBoxText.SelectionColor = System.Drawing.Color.Blue;
richTextBoxText.Select(0,0);

but if the richtextbox has scrollbars, it will go top of the text, and i do not want it to do that!

can anyone help me how to change the color, so it would not select the first char. but instead that char it was before the color changed!

Thanks
QzRz
GeneralRe: RichTextBox question! Pin
Robert Rohde26-Mar-05 23:14
Robert Rohde26-Mar-05 23:14 
GeneralRe: RichTextBox question! Pin
QzRz26-Mar-05 23:34
QzRz26-Mar-05 23:34 
GeneralRe: RichTextBox question! Pin
Ashok Dhamija27-Mar-05 22:48
Ashok Dhamija27-Mar-05 22:48 
GeneralRe: RichTextBox question! Pin
QzRz27-Mar-05 23:56
QzRz27-Mar-05 23:56 
GeneralRTF QUESTION! Pin
_Comet_Keeper_25-Mar-05 22:01
_Comet_Keeper_25-Mar-05 22:01 
GeneralRe: RTF QUESTION! Pin
Robert Rohde25-Mar-05 23:10
Robert Rohde25-Mar-05 23:10 
QuestionHow to display results of a console app in a textbox of another app form? Pin
oohungoo25-Mar-05 21:51
oohungoo25-Mar-05 21:51 
AnswerRe: How to display results of a console app in a textbox of another app form? Pin
JockerSoft28-Mar-05 2:21
JockerSoft28-Mar-05 2:21 
GeneralRe: How to display results of a console app in a textbox of another app form? Pin
oohungoo30-Mar-05 22:44
oohungoo30-Mar-05 22:44 
GeneralInvoking a control's inner event. Pin
rakat3325-Mar-05 21:34
rakat3325-Mar-05 21:34 
GeneralRe: Invoking a control's inner event. Pin
Mathew Hall25-Mar-05 22:45
Mathew Hall25-Mar-05 22:45 
Generalget X , Y coordinate of notifyIcon using win32 calls Pin
ThomasMiller25-Mar-05 21:14
ThomasMiller25-Mar-05 21:14 
GeneralRe: get X , Y coordinate of notifyIcon using win32 calls Pin
Heath Stewart26-Mar-05 13:22
protectorHeath Stewart26-Mar-05 13:22 
GeneralRe: get X , Y coordinate of notifyIcon using win32 calls Pin
ThomasMiller26-Mar-05 13:42
ThomasMiller26-Mar-05 13:42 
GeneralRe: get X , Y coordinate of notifyIcon using win32 calls Pin
Heath Stewart26-Mar-05 20:30
protectorHeath Stewart26-Mar-05 20:30 
GeneralRe: get X , Y coordinate of notifyIcon using win32 calls Pin
ThomasMiller27-Mar-05 5:01
ThomasMiller27-Mar-05 5:01 
GeneralRe: get X , Y coordinate of notifyIcon using win32 calls Pin
Heath Stewart27-Mar-05 5:23
protectorHeath Stewart27-Mar-05 5:23 

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.