SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftPrintPreview/DLL 2.0 - Print Preview Control (discontinued)
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftDirectory 3.5 - File/Folder Control (discontinued)
SftMask/OCX 7.0 - Masked Edit Control
SftOptions 1.0 - Registry/INI Control (discontinued)
SftPrintPreview/OCX 1.0 - Print Preview Control (discontinued)
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTabs/NET 6.0 - Tab Control (discontinued)
SftTree/NET 2.0 - Tree Control
Moves a column to a new position.
Deprecated - Provided for compatibility with earlier versions only - Use ColumnsObj.Move instead
VB.NET | object.MoveColumn(ByVal FromDisplayColumn As Short, ByVal ToDisplayColumn As Short) |
VB | object.MoveColumn(ByVal FromDisplayColumn As Integer, ByVal ToDisplayColumn As Integer) |
C#.NET | void object.MoveColumn(short FromDisplayColumn, short ToDisplayColumn); |
VC++ | HRESULT object->MoveColumn(short FromDisplayColumn, short ToDisplayColumn); |
C | HRESULT object->raw_MoveColumn(short FromDisplayColumn, short ToDisplayColumn); |
object
FromDisplayColumn
The zero-based column number to be moved.
ToDisplayColumn
The zero-based column number of the position where the column is to be inserted. If ToDisplayColumn is -1, the column will be moved to the end and become the last column.
Deprecated - Provided for compatibility with earlier versions only - Use ColumnsObj.Move instead
The MoveColumn method moves a column to a new position.
The MoveColumn method moves the entire column, including all attributes and contents.
While most other methods, events and properties use real column numbers, the MoveColumn method requires the use of display column numbers. The first displayed column number can be retrieved using the ColumnsObj.FirstDisplayColumn property. The last displayed column number is described by the ColumnsObj.LastDisplayColumn property. The ColumnsObj.Count property returns the number of columns defined.
Even hidden columns (Column.Width is 0) can be moved using the MoveColumn method.
See Also SftTree Object | Object Hierarchy