SftTree/OCX 7.0

SftTree.FirstDisplayColumn Property

Softel vdm, Inc.

Returns the index of the first displayed column.

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

Syntax       

Get

VB.NET

DispColIndex = object.FirstDisplayColumn  As Short

VB

DispColIndex = object.FirstDisplayColumn  As Integer

C#.NET

short DispColIndex = object.FirstDisplayColumn;

VC++

short DispColIndex = object->FirstDisplayColumn;
short DispColIndex = object->GetFirstDisplayColumn();

C

HRESULT object->get_FirstDisplayColumn(short* DispColIndex);

Delphi

DispColIndex := object.FirstDisplayColumn   : Smallint;

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


Feedback / comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com