Hi Nancy,
Actually this is a documented bug by MS ( Q161730 ). You might check out my other replies on the list box issues :-).
Bill
>Hi, Bill.
>
>Is the multiselect property set to .T.? When you're stepping thru the program, what does the selected(nItem) property return? Specifcally, are the items not selected or are they just not highlighted. I can't remember off-hand if selecting an item is immediately displayed w/o refreshing the control...FWIW.
>
>>Using some workarounds I was able to get the items to be selected while watching the code execute in the debugger, but when I removed the SET STEP ON command ( the only change I made ), the items refused to be selected.
>>
>>One button on the form selects all items programmatically, another deselects all programmatically. These work fine!?!?
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.