Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How To Move Grid Column Programmatically
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 8
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01042712
Message ID:
01042718
Views:
29
This message has been marked as the solution to the initial question of the thread.
>Is it possible to move a grid column programmatically?
>
>For example, my grid has columns 1, 2, and 3 but I want the columns to appear in order: 1, 3, 2 and I want to set this at run time under program control, not at design time.
>
>This is running under VFP 8.0.
>
>Thanks.


Chaim, the property you need is ColumnOrder, but be aware that what this does is swap the columns, thus if you change column 3 to the first position, your new order would be 3, 2, 1, so you need to do some extra work
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform