Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

FirstDisplayColumn Property, SftTree Object

Returns the index of the first displayed column.

Deprecated - Provided for compatibility with earlier versions only - Use ColumnsObj.FirstDisplayColumn instead

Syntax

Get

VB.NETDispColIndex = object.FirstDisplayColumn As Short
VBDispColIndex = object.FirstDisplayColumn As Integer
C#.NETshort DispColIndex = object.FirstDisplayColumn;
VC++short DispColIndex = object->FirstDisplayColumn;
short DispColIndex = object->GetFirstDisplayColumn();
CHRESULT object->get_FirstDisplayColumn(short* DispColIndex);

object

A SftTree object.

DispColIndex

Returns the index of the first displayed column.

Comments

Deprecated - Provided for compatibility with earlier versions only - Use ColumnsObj.FirstDisplayColumn instead

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 SftTree Object | Object Hierarchy


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