|
|
|
SftTreeColumns.FirstDisplayColumn Property |
Returns the index of the first displayed column.
Syntax
VB.NET |
DispColIndex = object.FirstDisplayColumn As Short |
||
VB |
DispColIndex = object.FirstDisplayColumn As Integer |
||
C#.NET |
short DispColIndex = object.FirstDisplayColumn; |
||
VC++ |
short DispColIndex = object->FirstDisplayColumn;
|
||
C |
HRESULT object->get_FirstDisplayColumn(short* DispColIndex); |
||
Delphi |
DispColIndex := object.FirstDisplayColumn : Smallint; |
object
A SftTreeColumns object.
DispColIndex
Returns the index of the first displayed column.
Comments
The FirstDisplayColumn property returns the index of the first displayed column.
The first column with a width greater than 0 (Column.Width) is considered the first displayed column. It is not necessarily visible if horizontal scrolling is in effect. A column can be made visible using the Column.MakeVisible method.
The last displayed column can be determined using the ColumnsObj.LastDisplayColumn property.
While most other methods, events and properties use real column numbers, the FirstDisplayColumn property returns the display column number of the first displayed column. The display column number can be translated to a real column number using the ColumnsObj.ColumnIndex property.
The ColumnsObj.FirstDisplayColumn2 property returns the index of the first displayed column in the right pane of a split tree control.
See Also SftTreeColumns Object | Object Hierarchy