Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

richedit find line and insert?

Status
Not open for further replies.

cyprus106

Programmer
Apr 30, 2001
654
I want to find a line with a specific character string in it in a RichEdit, and then insert a blank line after it, but I don't know how to search for a line. I can search regular text just fine but then I can't add a return. \n just adds that awkward box-character... Any suggestions, por favor?!?

Thanks! Cyprus
 
look for 'FindText' in the help files.

This is a method of the TRichEdit class.

tomcruz.net
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top