Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid problem
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00403742
Message ID:
00403941
Views:
12
>
grid.DeleteColumn(<i>nColumnOrder</i>)
Be aware though, that once you've removed a column, the column numbers all get shifted, so what was column 3 before a DeleteColumn(2), will now be column 2.
>
>You could also use
>
grid.RemoveObject("Column2")
or
>
* for each column you want to set order for
>** in this case, set column5 first, column 8 second, remove rest
>WITH grid && needs full object path, but just for the example
>  .Column5.ColumnOrder = 1
>  .Column8.ColumnOrder = 2
>  .ColumnCount = 2
>ENDWITH
>

Thanks! Where do I do that? on the form.refresh(), grid.refresh() or ?
One can acquire everything in solitude but character.
Stendhal (1783-1842)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform