OnMeasureItem with ListBox

  • Thread starter Thread starter Nicolas B
  • Start date Start date
N

Nicolas B

Hi



How can I force a ListBox to recalculating the height of these items?



I have a ListBox with property DrawMode = OwnerDrawVariable

and sometimes I want to draw items with more information (2 lines or more
needed)



Calling Update() method only redraw the list without calculating Items
height





Nicolas
 
How can I force a ListBox to recalculating the height of these items? ....
Calling Update() method only redraw the list without calculating Items
height

You must remove the item from the listbox and reinsert it.
 
Back
Top