Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Row changing in Grids
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00521877
Message ID:
00521891
Views:
19
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform