Partager via


ColumnOrder Property

Specifies the relative order of column objects in a Grid control. Available at design time and run time.

Column.ColumnOrder[ = nExpr]

Return Value

  • nExpr
    Specifies the order of a column relative to other columns in the grid.

Remarks

Applies To: Column Object

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.

Note

ColumnOrder settings do not have to be sequential.

See Also

Reference

Activate Event (Visual FoxPro)

Deactivate Event

ZOrder Method

ColumnCount Property (Visual FoxPro)

ColumnLines Property

ColumnWidths Property

Other Resources

Properties (Visual FoxPro)

Language Reference (Visual FoxPro)