Board index » delphi » Bug in TCustomListBox.GetItemIndex
Piper Keairnes
![]() Delphi Developer |
Tue, 16 Jan 2001 03:00:00 GMT
Bug in TCustomListBox.GetItemIndex
I have found a bug in the Delphi 4.0 StdCtrls unit. The
TCustomListBox.GetItemIndex method incorrectly sends the LB_GETCURSEL message when it should send the LB_GETCARETINDEX message, and vice versa. The problem becomes that GetItemIndex will never return -1. For Some of the problems I've noticed were when: I've already submitted this bug to Inprise. Piper |