Flexible TreeView 5.1.9 Help
ChangeColumnIndex Method



The target column.
New index of the column.
true if move the specified column to the new index while shift down all columns behind the new index; otherwise, exchange the column pColumn and a column with index, specified in the pNewIndex parameter.
Changes the column index.
Syntax
'Declaration
 
Public Function ChangeColumnIndex( _
   ByVal pColumn As TreeColumn, _
   ByVal pNewIndex As Integer, _
   ByVal pShiftOther As Boolean _
) As Boolean
'Usage
 
Dim instance As TreeColumnCollection
Dim pColumn As TreeColumn
Dim pNewIndex As Integer
Dim pShiftOther As Boolean
Dim value As Boolean
 
value = instance.ChangeColumnIndex(pColumn, pNewIndex, pShiftOther)
public bool ChangeColumnIndex( 
   TreeColumn pColumn,
   int pNewIndex,
   bool pShiftOther
)
public:
bool ChangeColumnIndex( 
   TreeColumn^ pColumn,
   int pNewIndex,
   bool pShiftOther
) 

Parameters

pColumn
The target column.
pNewIndex
New index of the column.
pShiftOther
true if move the specified column to the new index while shift down all columns behind the new index; otherwise, exchange the column pColumn and a column with index, specified in the pNewIndex parameter.

Return Value

Whether the specified column was moved successfully.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

TreeColumnCollection Class
TreeColumnCollection Members

Send Feedback