Hi,
I am having trouble with a listbox. I am changing the picture that is associated with each item in the listbox to reflect the on/off or true/false of each item. I populate the listbox using an array and then set the picture as required of each item in the array “this.picture[index]=checkon.bmp (or checkoff.bmp)”. My routine works perfectly as long as the array has less than 61 items. When the routine that sets the picture reaches the 61 item it set the first (1) item in the array and not the 61. This occurs while I step through the code. I suspect that this may be a VFP 6 (SP4) bug because scrolling (using the scroll bar) will cause the problem too. I discovered the scroll bar issue when I reversed the order of assignment which left the 1st item with the correct check mark. But if I scroll past the 61st item it changes the first item to the incorrect check mark. Can anyone recall any issues with listboxes that apply to this issue?
PS I don't see this in VFP8
Tia
John
John Fabiani
Woodland, CA