[Lazarus] ListView problems
zeljko
zeljko at holobit.net
Sun Feb 12 09:40:15 CET 2012
On Sunday 12 of February 2012 03:43:29 dmitry boyarintsev wrote:
> Zeljan,
>
> I'm reassigning the item to you.
No problem, I've resolved it again since issue is indeed fixed.
zeljko
>
> thanks,
> Dmitry
>
> On Fri, Feb 10, 2012 at 3:16 PM, Hans-Peter Diettrich
>
> <DrDiettrich1 at aol.com> wrote:
> > zeljko schrieb:
> >> Before any extending of example, open new issue and attach example which
> >> crashes (and explanation how to reproduce please).
> >
> > After a look at your new code I found these problems:
> >
> > 1) After changing OwnerData it's necessary to Clear the listview. This
> > should be done in the widget automatically. The same for BeginUpdate and
> > EndUpdate, which also must be called for a change of the Item.Count.
> > Otherwise the widget is misconfigured and can show blank entries.
> >
> > 2) The number of OwnerData items is AllocBy in Delphi, not Items.Count.
> > This property seems to be ignored or otherwise unusable - fix or remove
> > it? The (Win32) widget shows AllocBy items, but only for the first
> > Items.Count items the OnData event occurs, the remaining items show as
> > blank.
> >
> >
> > The example code is not really instructive, due to the default names for
> > all controls. How shall a user know what e.g. Button1Click or
> > Edit1Change code is good for?
> >
> >
> > No further problems with OwnerData, so far :-)
> >
> >
> > DoDi
> >
> >
> > --
> > _______________________________________________
> > Lazarus mailing list
> > Lazarus at lists.lazarus.freepascal.org
> > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20120212/8806caa4/attachment-0003.html>
More information about the Lazarus
mailing list