[fpc-pascal] TList Notify count changed

Michael Van Canneyt michael at freepascal.org
Fri May 25 11:11:51 CEST 2012



On Tue, 22 May 2012, Zaher Dirkey wrote:

> In TList how can i notify if Count is changed with New and Old values as like in SetCount, SetCount procedure not virtual?
> procedure SetCount(NewCount: Integer);

You cannot.

Be aware that setting the count does not mean items are actually added to the list.

Michael.



More information about the fpc-pascal mailing list