Skip to content

Find text code in texteditor using .NET in windowsform(VC#)

RAJ KUMAR

Asked Jun 20, 2012, 10:07 PM EDT1 answer
Share
LinkedInX
Hello,
I have created a texteditor with all possible options and i am left out with the find option where i have taken a textbox and button to find and i am not able to code it in windows forms application,
plz help me out to find the code for this FIND option.
Thank you.

1 Answer

Know the answer? Post it. Somebody with the same question will find it here.

  • 0
    Line by line read text as string and store it in a variable.
    Now, check your string variable contains the text passed or not.
    If it is presents get the index and highlight text.

    Hope you might have got some idea.
    0