Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Anyone ever make a grid with mover bars?
Message
 
À
26/11/2001 13:32:27
Mike Sue-Ping
Cambridge, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00585871
Message ID:
00585959
Vues:
31
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'
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform