ColPosition Property (ModHFGrid) Example

When implemented, the following code causes a column to move to the first position (the leftmost column) when the user clicks the column.

Sub ModHFGrid1_Click ()
   ModHFGrid1.ColPosition(MSFlexGrid1.MouseCol) = 0
End Sub