Hide

SftBox/OCX 5.0 - Combo Box Control

Display
Print

SftBoxColumns.Move Method

Moves a column.

Syntax

VB.NETobject.Move(ByVal FromDisplayColumn As Short, ByVal TargetDisplayColumn As Short)
VBobject.Move(ByVal FromDisplayColumn As Integer, ByVal TargetDisplayColumn As Integer)
C#.NETvoid object.Move(short FromDisplayColumn, short TargetDisplayColumn);
VC++HRESULT object->Move(short FromDisplayColumn, short TargetDisplayColumn);
CHRESULT object->raw_Move(short FromDisplayColumn, short TargetDisplayColumn);

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.

See Also SftBoxColumns Object | Object Hierarchy


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.