Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

FirstDisplayColumn2 Property, SftTree Object

Returns the index of the first displayed column in the right pane.

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

Syntax

Get

VB.NETDispColIndex = object.FirstDisplayColumn2 As Short
VBDispColIndex = object.FirstDisplayColumn2 As Integer
C#.NETshort DispColIndex = object.FirstDisplayColumn2;
VC++short DispColIndex = object->FirstDisplayColumn2;
short DispColIndex = object->GetFirstDisplayColumn2();
CHRESULT object->get_FirstDisplayColumn2(short* DispColIndex);

object

A SftTree object.

DispColIndex

Returns the index of the first displayed column in the right pane.

Comments

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

The FirstDisplayColumn2 property returns the index of the first displayed column in the right pane.

FirstDisplayColumn2 is only available for a split tree control.

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 in the right pane can be determined using the ColumnsObj.LastDisplayColumn2 property.

While most other methods, events and properties use real column numbers, the FirstDisplayColumn2 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.FirstDisplayColumn property returns the index of the first displayed column in a regular tree control or the left pane of a split tree control.

See Also SftTree Object | Object Hierarchy


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