Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

LastDisplayColumn Property, SftTree Object

Returns the index of the last displayed column.

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

Syntax

Get

VB.NETDispColIndex = object.LastDisplayColumn As Short
VBDispColIndex = object.LastDisplayColumn As Integer
C#.NETshort DispColIndex = object.LastDisplayColumn;
VC++short DispColIndex = object->LastDisplayColumn;
short DispColIndex = object->GetLastDisplayColumn();
CHRESULT object->get_LastDisplayColumn(short* DispColIndex);

object

A SftTree object.

DispColIndex

Returns the index of the last displayed column.

Comments

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

The LastDisplayColumn property returns the index of the last displayed column.

The last column with a width greater than 0 (Column.Width) is considered the last displayed column. It is not necessarily displayed or visible if horizontal scrolling is in effect. A column can be made visible using the Column.MakeVisible method.

In a split tree control, the last displayed column of the left pane is returned.

The first displayed column can be determined using the ColumnsObj.FirstDisplayColumn property.

While most other methods, events and properties use real column numbers, the LastDisplayColumn property returns the display column number of the last displayed column. The display column number can be translated to a real column number using the ColumnsObj.ColumnIndex property.

The ColumnsObj.LastDisplayColumn2 property returns the zero-based column number of the last displayed column of the right pane in a split tree control.

See Also SftTree Object | Object Hierarchy


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