[Lazarus] TListView.SelCount bug
nc-gaertnma at netcologne.de
Thu Mar 27 22:19:29 CET 2008
On Thu, 27 Mar 2008 15:16:05 +0100
Roland Turcan <konf at rotursoft.sk> wrote:
> Hello General mailing list!
> I have on a form TListView and I found TListView doesn't report
> correct value in SelCount in the case, that the owner form is not
> When I ask for SelCount before I close the Windows then it reports
> >0, but after ShowModal reports =0;
> After closing the windows HandleAllocated results FALSE.
> function TCustomListView.GetSelCount: Integer;
> if HandleAllocated
> then Result :=
> TWSCustomListViewClass(WidgetSetClass).GetSelCount(Self) else
> Result := 0; end;
> I can make a workaround for this, that I will save the value before
> windows is closed, but I think, that it is bug.
> Is it purpose or bug?
Please create a bug report.
More information about the Lazarus