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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top