|
|
|
SftBoxColumns.Move Method |
Moves a column.
Syntax
VB.NET |
object.Move(ByVal FromDisplayColumn As Short, ByVal TargetDisplayColumn As Short) |
||
VB |
object.Move(ByVal FromDisplayColumn As Integer, ByVal TargetDisplayColumn As Integer) |
||
C#.NET |
void object.Move(short FromDisplayColumn, short TargetDisplayColumn); |
||
VC++ |
HRESULT object->Move(short FromDisplayColumn, short TargetDisplayColumn); |
||
C |
HRESULT object->raw_Move(short FromDisplayColumn, short TargetDisplayColumn); |
||
Delphi |
procedure object.Move(FromDisplayColumn : Smallint, TargetDisplayColumn : Smallint); |
object
A SftBoxColumns object.
FromDisplayColumn
The zero-based column number to be moved. This is a display column number.
TargetDisplayColumn
The zero-based column number of the position where the column is to be inserted. This is a display column number. If TargetDisplayColumn is -1, the column will be moved to the end and become the last column.
Comments
The Move method moves a column.
The Move method moves the entire column, including the column header, all attributes and contents.
While most other methods, events and properties use real column numbers, the Move method requires the use of display column numbers. The Columns.Count property returns the number of columns defined. Some columns may be hidden (Column.Width property is 0), so they are not visible. Even hidden columns can be moved.