VSFlexGrid Control > VSFlexGrid Properties, Events, and Methods > VSFlexGrid Properties > RowPosition Property |
Moves a given row to a new position.
[form!]vsFlexGrid.RowPosition(Row As Long)[ = NewPosition As Long ]
The Row and NewPosition parameters must be valid row indices (in the range 0 to Rows - 1), or an error will be generated.
When a column or row is moved with ColPosition or RowPosition, all formatting information moves with it, including width, height, alignment, colors, fonts, etc. To move text only, use the Clip property instead.
See the ColPosition property for an example.
Long