Add icons in "Image list editor" (for example) and select the last one, clic "Delete" and BOOM.
2006/1/4, Mattias Gaertner <[EMAIL PROTECTED]>: > On Wed, 4 Jan 2006 17:40:01 -0400 > "Luis R. Hilario B." <[EMAIL PROTECTED]> wrote: > > > lazarus/ideintf/imagelisteditor.pp > > Line 187: fLv.Items.Delete(Il.Index); > > How? > > > > But is a general failure in GTK, for example "Code Templates" also fails. > > How? > > Mattias > > > > > > 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? > > > > > > Mattias > > > > > > > > > > > > > > Only GTK. > > > > > > > > TApplication.HandleException List index (7) out of bounds > > > > Stack trace: > > > > $080BA63E > > > > TApplication.HandleException Access violation > > > > Stack trace: > > > > $081CA9EF TLISTITEM__SETSTATE, line 524 of ./include/listitem.inc > > > > $081CC4D2 TCUSTOMLISTVIEW__DOSELECTITEM, line 225 of > > > > ./include/customlistview.inc > > > > $081CC200 TCUSTOMLISTVIEW__CNNOTIFY, line 148 of > > > > ./include/customlistview.inc > > > > $0805D14B > > > > $08135602 TCONTROL__WNDPROC, line 1520 of ./include/control.inc > > > > $0812CFAD TWINCONTROL__WNDPROC, line 3046 of > > > > ./include/wincontrol.inc $081493F9 DELIVERMESSAGE, line 3447 of > > > > gtkproc.inc $081E2646 GTKWSCUSTOMLISTVIEW_SELECTROW, line 118 of > > > > gtkwscustomlistview.inc $B7E06EAF CODEEXPLOPTS_finalize, line 104 > > > > of debugoptionsfrm.pas $0000D015 > > > > Note: GetTextBuf is overridden for: [EMAIL PROTECTED] (c)_ > > > > > > > > -- > > > > http://luisdigital.com > > > > > > > > _________________________________________________________________ > > > > To unsubscribe: mail [EMAIL PROTECTED] with > > > > "unsubscribe" as the Subject > > > > archives at http://www.lazarus.freepascal.org/mailarchives > > > > > > _________________________________________________________________ > > > To unsubscribe: mail [EMAIL PROTECTED] with > > > "unsubscribe" as the Subject > > > archives at http://www.lazarus.freepascal.org/mailarchives > > > > > > > > > -- > > http://luisdigital.com > > > > _________________________________________________________________ > > To unsubscribe: mail [EMAIL PROTECTED] with > > "unsubscribe" as the Subject > > archives at http://www.lazarus.freepascal.org/mailarchives > > _________________________________________________________________ > To unsubscribe: mail [EMAIL PROTECTED] with > "unsubscribe" as the Subject > archives at http://www.lazarus.freepascal.org/mailarchives > -- http://luisdigital.com _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives