Hi,
has anybody tried out the wx.SimpleHtmlListBox?
I found out, that the control is behaving very strange, if you try to delete the list items.
I have attached a sample program, with a SimpleHtmlListBox and two buttons (add item / clear list). The string of the new item is depending on what GetItemCount() is returning.
- First of all, it is not possible to delete the list items permanently.
- After clicking on Clear the counter of the items is reseted, but after adding a further item, GetItemCount is returning the truth again.
- Another strange behavior can be watched, when you add more items than the control can display. Thus a scrollbar appears. And when you now click on Clear(), all items disappear. And then after adding a another item, the whole list is shown again plus the new one.
I would be glad if you try out the test script and reproduce the errors.
Perhaps somebody can find a workaround or tell me that I am using the wrong functions.
Hi,
has anybody tried out the wx.SimpleHtmlListBox?
I found out, that the control is behaving very strange, if you try to delete the list items.
I have attached a sample program, with a SimpleHtmlListBox and two buttons (add item / clear list). The string of the new item is depending on what GetItemCount() is returning.
- First of all, it is not possible to delete the list items permanently.
- After clicking on Clear the counter of the items is reseted, but after adding a further item, GetItemCount is returning the truth again.
- Another strange behavior can be watched, when you add more items than the control can display. Thus a scrollbar appears. And when you now click on Clear(), all items disappear. And then after adding a another item, the whole list is shown again plus the new one.
I would be glad if you try out the test script and reproduce the errors.
Perhaps somebody can find a workaround or tell me that I am using the wrong functions.
This bug has already been fixed for the next release.
ยทยทยท
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!