Author Topic: TListBox.Items.Clear doesn't clear last item  (Read 4368 times)


  • New member
  • *
  • Posts: 7
TListBox.Items.Clear doesn't clear last item
« on: January 08, 2007, 12:19:34 am »
Well, that's it. If I add a new item afterwards the remaining item gets replaced by the new one, but if not it remains visible and selected (it was selected before). TListBox.Items.String[0]:='' doesnt work - probably because the item internally doesn't exist anymore? Is this a known error or am I doing something wrong?

Best regards,

PS: I forgot to mention, I'm using Lazarus 0.9.20.

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
RE: TListBox.Items.Clear doesn
« Reply #1 on: January 10, 2007, 08:56:30 am »
Hard to say without source. Known errors are in the bug tracker. If yours isn't, then please add it.


TinyPortal © 2005-2018