Re:Clear method for TMemo ?
Quote
iss009@thunder (J.Gould) wrote:
>I call the clear method :
> memo.Clear;
>but the text is still there. Why ??
>Thanks in advance,
Hello Jonathan,
The solution is of course - "use Memo.Lines.Clear instead" but the
problem is interesting - I didn't know there is Clear method in Memo
I've checked sourced and Object Inspector and it is clear :-) that
Clear is inherited from TCustomEdit.
Maybe there is just small bug - Borland has forgotten to write this
simple 1-line method in TMemo.
Cheers,
Pawel
--
\||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||/
- Pawel Ksiezyk ksie...@bull.mimuw.edu.pl -
- Institute of Informatics Warsaw University Poland -
/||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||\