Hello Mike,
I have done this by having a column which holds the relative position. This column does not have to be displayed, just used to provide an index. I then use a spinner control for up/down control with code that manipulates the values in the newly created column.
The user selects the row they want to move, click the up/down arrow on the spinner, values are updated then the grid is refreshed.
The implementation can get a little trickier, but thats the general idea which should get you going down the right road.
HTH
Bob
>Hi All:
>
>Recently I came across a request to make a VFP6.0 grid behave like a list with mover bars. Rows still had to remain editable, but, also be capable of being re-ordered using "mover bars".
>
>Does anyone know if this is possible and how to do this? If not, how about making a list become editable, like a grid?
>
>TIA.
'If the people lead, the leaders will follow'
'War does not determine who is RIGHT, just who is LEFT'