Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing the order of fields in a table programatically
Message
From
04/02/2004 11:56:58
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00873959
Message ID:
00873996
Views:
9
Hi Bradley,

There is a property on the Column object called ColumnOrder. If you change this property (at run-time) the column will move to that position.

From the help file:
If a Grid contains five columns and you want the third column displayed last, set the ColumnOrder property of the third column to 5. The ColumnOrder setting for the fourth column becomes 3, the ColumnOrder setting for the fifth column becomes 4, and so on.

Greg
Greg Reichert
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform