Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Row changing in Grids
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00521877
Message ID:
00521891
Vues:
20
>Is it possible to switch two rows in a grid by use of the mouse?

It actually isn't that hard, but you'll need an extra column in your record source. Create a numeric field called "Order", and create an index on it and order by it in your grid. Then all you need to do is add some buttons next to your grid (with either up and down arrows or the wordds "Up" and "Down" or something like that. All these buttons do are change the values of the order column so that the grid reorders itself.

If you got lost in that explanation, just let me know.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform