Sounds good I was trying to send you my dummy project but something is wrong with HotMail or so my provideer says. I'll keep trying and checking for you app. Hopefully we can get it done by today.
Xerman
hmmm strange. Basically I made a test project with the following.
1. GSMemo named GSMemo1
2. Button To clear and Load a text file
GSMemo1.Clear;
GSMemo1.LoadFromFile('c:\11.txt');
3. 2 TEdits edit1 for find text
edit2 for replace text
4. 2 more buttons Find...
Ok I checked it and this is how I got it to work.
GSMemo1.FindText(edit1.text,[],False);
GSMemo1.ReplaceText(edit1.text,edit2.text,[],False);
although they are in different areas you can not do one after the other for some reason you can not have them after each other. I have not found out...
bobbafet I found one that shows the line numbers on the left side. The component is called GsMemo you can find a DL at www.torry.net. Since im writing, I guess i'll ask a question too.
Does anyone know how to add moving to the last line of a memo with code? Might be a dumb question but i...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.