Luiz Americo Pereira Camara schrieb:

This is the purpose i intend to use (replace my implementation). Basically is a tree structure that needs to be observed. To avoid performance problems like having to parse all the tree when a change occurs i defined actions when a Child is added, deleted or inserted.

Why not create dedicated TObservedTree and TTreeObserver classes, which work together?

This would allow for whatever kind of notifications required in a certain tree model, without any impact on the basic tree class.

DoDi

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to