Hi Mike.
>> I have a listbox connected to a parameterized view. I requery the view whenever a grid is refreshed. As the grid is moved, the current controlsource highlights the "correct" item. But the selected item
from the previous record is still highlighted. <<
After you requery the view, you need to requery the ListBox.
>> My problem is that I use this.clear() in a custom method. Clear() does appear to remove all items from the list, <<
Really? The VFp on-line help says that this.clear() only works with RowSourceType = 0-None.
>> however, it doesn't reset the selected[] and selectedid[] arrays. <<
LOCAL lnCnt
WITH This
FOR lnCnt = 1 TO .ListCount
.Selected[lnCnt] = .F.
ENDFOR
ENDWITH
Marcia