Mike Sue-Ping
Cambridge, Ontario, Canada
Information générale
Catégorie:
Codage, syntaxe et commandes
Bob,
Thanks for the suggestion. I'll give it a try.
Mike
>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.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement