Board index » cppbuilder » TCustomListBox and OnMeasureItem
Sean Hanna
![]() CBuilder Developer |
Sat, 30 Apr 2005 10:52:18 GMT
TCustomListBox and OnMeasureItem
I have added a TListBox to a TForm and have set the Style property of the
list box to lbOwnerDrawVariable. I am having trouble with the OnMeasureItem event. The OnMeasureItem works fine when there is a single item in the list but The first 3 times the OnMeasure Item function is being called, the Index Why is this Index parameter being passed incorrectly? How should I be I am using Borland C++ Builder 5 Enterprise edition. Thanks in advance Sean Hannan |