>>In mover class after moving one item from source list box to selected list box I would like to select the next item of source list box automatically.
>>
>>I have tryed Click and setfocus method. What it works is to set the value property with the next value of item, but how to find out the next value?
>
>
>What If:
>
>IF thisform.MoverList.ListIndex < thisform.MoverList.ListCount
> thisform.MoverList.ListIndex = thisform.MoverList.ListIndex+1
>ELSE
> thisform.MoverList.ListIndex = 1
>ENDIF
>
Simplified:
thisform.MoverList.ListIndex = (thisform.MoverList.ListIndex+1) % thisform.MoverList.ListCount + 1