Hi Sergey
I tried a vfp base list box and I get this behavior when multiselect = .t.. I works just like I want it with multiselect = .f..
Thanks.
>Hi Jim,
>
>I don't understand why do you have this problem at all. The record in a listbox should be highlighted regardless how you move between lines. It's possible that something in your code that cases such effect.
>
>>Thanks Sergey
>>
>>That did not help.
>>
>>I tried adding this.Selectedid[this.ListIndex] = .t. and that did make the new row selected. But I can't seem to find an event that I can turn the old row selected off. This does work but is seems to be such a kludge.
>>
>>
>>lnSelectedRow = this.ListIndex
>>this.selectall(.f.)
>>this.Selectedid[lnSelectedRow] = .t.
>>this.parent.requery("tickets")
>>
>>Seems to work the same in both the when and interactivechange events.
>>
>>