Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Anyone ever make a grid with mover bars?
Message
 
To
26/11/2001 13:32:27
Mike Sue-Ping
Cambridge, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00585871
Message ID:
00585959
Views:
29
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'
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform