Click here to Skip to main content
15,909,530 members
Home / Discussions / C#
   

C#

 
GeneralRe: Regex.Matches() problem Pin
Skippums7-Jan-08 2:56
Skippums7-Jan-08 2:56 
GeneralRe: Regex.Matches() problem Pin
Seishin#7-Jan-08 3:09
Seishin#7-Jan-08 3:09 
QuestionWho tells an object the application wants to exit and where? Pin
LuCasn7-Jan-08 2:40
LuCasn7-Jan-08 2:40 
GeneralRe: Who tells an object the application wants to exit and where? Pin
Skippums7-Jan-08 3:09
Skippums7-Jan-08 3:09 
GeneralRe: Who tells an object the application wants to exit and where? Pin
LuCasn7-Jan-08 3:15
LuCasn7-Jan-08 3:15 
GeneralRe: Who tells an object the application wants to exit and where? Pin
Skippums7-Jan-08 3:24
Skippums7-Jan-08 3:24 
GeneralRe: Who tells an object the application wants to exit and where? Pin
LuCasn7-Jan-08 3:36
LuCasn7-Jan-08 3:36 
QuestionRichTextBox Find Method Pin
Programm3r7-Jan-08 2:18
Programm3r7-Jan-08 2:18 
Hi all,

I am using the Find method if the RichTextBox to search for a certain word within the control. But how can I move to the line where the text was found ??

// Obtain the location of the search string in richTextBox1.
int indexToText = richTextBox1.Find(text, RichTextBoxFinds.MatchCase);
// Determine if the text was found in richTextBox1.
if(indexToText >= 0)
{
   // go to line ??
}


Many Thanks
Regards,



The only programmers that are better that C programmers are those who code in 1's and 0's Green Alien | [Alien]


Smile | :) Programm3r

My Blog: ^_^

GeneralRe: RichTextBox Find Method Pin
Skippums7-Jan-08 2:38
Skippums7-Jan-08 2:38 
QuestionRe: RichTextBox Find Method Pin
Programm3r7-Jan-08 3:22
Programm3r7-Jan-08 3:22 
GeneralRe: RichTextBox Find Method Pin
Skippums7-Jan-08 3:33
Skippums7-Jan-08 3:33 
GeneralRe: RichTextBox Find Method Pin
Programm3r7-Jan-08 3:39
Programm3r7-Jan-08 3:39 
GeneralRe: RichTextBox Find Method Pin
m@u7-Jan-08 2:50
m@u7-Jan-08 2:50 
QuestionCustomize button Pin
somit taank7-Jan-08 2:13
somit taank7-Jan-08 2:13 
GeneralRe: Customize button Pin
Skippums7-Jan-08 2:33
Skippums7-Jan-08 2:33 
GeneralProject documentation Pin
sami_pak7-Jan-08 2:04
sami_pak7-Jan-08 2:04 
GeneralRe: Project documentation Pin
Skippums7-Jan-08 2:17
Skippums7-Jan-08 2:17 
GeneralRe: Project documentation Pin
Pete O'Hanlon7-Jan-08 3:44
mvePete O'Hanlon7-Jan-08 3:44 
Questionhow can i do this ? Pin
prasadbuddhika7-Jan-08 1:03
prasadbuddhika7-Jan-08 1:03 
AnswerRe: how can i do this ? Pin
Pete O'Hanlon7-Jan-08 1:20
mvePete O'Hanlon7-Jan-08 1:20 
GeneralRe: how can i do this ? Pin
prasadbuddhika7-Jan-08 20:14
prasadbuddhika7-Jan-08 20:14 
GeneralRe: how can i do this ? Pin
Pete O'Hanlon7-Jan-08 21:30
mvePete O'Hanlon7-Jan-08 21:30 
AnswerRe: how can i do this ? Pin
Stu Richardson7-Jan-08 1:28
Stu Richardson7-Jan-08 1:28 
AnswerRe: how can i do this ? Pin
Guffa7-Jan-08 3:01
Guffa7-Jan-08 3:01 
GeneralRe: how can i do this ? Pin
Stu Richardson7-Jan-08 3:46
Stu Richardson7-Jan-08 3:46 

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.