Re: TMemo (what is wrong with it?)


[ Related Articles and Replies ] [ DelphiLand Discussion Forum ]

Posted by webmaster Guido on February 06, 2002 at 20:23:23:

In Reply to: TMemo (what is wrong with it?) posted by Rbrrneck on February 06, 2002 at 19:58:58:

: Hi!
: I'm doing a kind of translator project. I have saved the words in a simple txt file, and I have no trouble getting to them with the indexof command Label.caption:=(memo1.lines[Memo1.lines.indexof(eAns.text)-1]); Now the only problem occoured when I had more than 248 rows. I've tested it on sveral computers, but no difference. Help!!!!!!!!!
-----

It might be that you have to much text in the TMemo. The maximum is somewhere between 32K and 64K (depends from the platform that you use).

Maybe try it with a TRichEdit, that one doesn't have such a limitation. If that still doesn't work, let us know which error(s) you are getting.


Related Articles and Replies:


[ Related Articles and Replies ] [ DelphiLand Discussion Forum ]