On Wed, 4 Jan 2006 20:27:50 -0400
"Luis R. Hilario B." <[EMAIL PROTECTED]> wrote:

> 2006/1/4, Mattias Gaertner <[EMAIL PROTECTED]>:
> > On Wed, 4 Jan 2006 10:16:26 -0400
> > "Luis R. Hilario B." <[EMAIL PROTECTED]> wrote:
> >
> > > Hello,
> > >
> > > if TListView.Items.Delete(Last.Selected.Index) then Lazarus crash;
> >
> > Can you send an example?
> >
> I cannot reproduce the problem with an example.
> 
> And it is different with "Code Templates" : erasing the first time
> functions well, but when is erased again (the last one selected)
> failure: "List index (24) out of bounds."

Fixed.
The Selected was not updated properly.

Mattias

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to