On Friday 10 of February 2012 14:39:43 Hans-Peter Diettrich wrote: > As mentioned in Mantis #18820 I tried to verify the OwnerData > implementation, and get nothing displayed (Win7). Most probably because > [Do]OnData is never called. > > Some questions are still open: > > Can OwnerData be changed at runtime? > If so, what happens to the non-OwnerData Items? Are these lost when > switching into OwnerData mode and back again? > My test program crashed with an AV in TListItems.IndexOf when switched > into OwnerData mode. > > How is Sorted supposed to work? > Added(?) items seem not to be sorted properly, when changing SortType > from stNone to stText. > > > Provided that we agree that OwnerData should be changeable at runtime, I > can extend the ListView example with according test facilities, so that > we have a common test application for the demonstration of the remaining > problems.
Before any extending of example, open new issue and attach example which crashes (and explanation how to reproduce please). I haven't tested OwnerData on pure windows , but with wine under linux, so maybe it could be problem (but doubt about it). zeljko
-- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
