Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid column order
Message
From
21/06/2003 06:30:37
 
 
To
20/06/2003 14:17:29
Scott Sherman
Puyallup Tribal Health Authority
Tacoma, Washington, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00802359
Message ID:
00802560
Views:
24
Hi Scott,

If original order is column index order:
PROCEDURE grid.RestoreColumnOrder
 PRIVATE iCol
 FOR iCol = 1 TO This.columnCount
   This.Columns[m.iCol].ColumnOrder=m.iCol
 ENDFOR
ENDPROC
If original order is defined on a Class, not on SCX:
PROCEDURE grid.RestoreColumnOrder
 PRIVATE iCol
 FOR iCol = 1 TO This.columnCount
   This.Columns[m.iCol].ResetToDefault('ColumnOrder')
 ENDFOR
ENDPROC
Fabio
Previous
Reply
Map
View

Click here to load this message in the networking platform