SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftPrintPreview/DLL 2.0 - Print Preview Control (discontinued)
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftDirectory 3.5 - File/Folder Control (discontinued)
SftMask/OCX 7.0 - Masked Edit Control
SftOptions 1.0 - Registry/INI Control (discontinued)
SftPrintPreview/OCX 1.0 - Print Preview Control (discontinued)
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTabs/NET 6.0 - Tab Control (discontinued)
SftTree/NET 2.0 - Tree Control
Returns the index of the last displayed column in the right pane.
Get
VB.NET | DispColIndex = object.LastDisplayColumn2 As Short |
VB | DispColIndex = object.LastDisplayColumn2 As Integer |
C#.NET | short DispColIndex = object.LastDisplayColumn2; |
VC++ | short DispColIndex = object->LastDisplayColumn2; short DispColIndex = object->GetLastDisplayColumn2(); |
C | HRESULT object->get_LastDisplayColumn2(short* DispColIndex); |
object
A SftTreeColumns object.
DispColIndex
Returns the index of the last displayed column in the right pane.
The LastDisplayColumn2 property returns the index of the last displayed column in the right pane.
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.
The first displayed column in the right pane can be determined using the ColumnsObj.FirstDisplayColumn2 property.
While most other methods, events and properties use real column numbers, the LastDisplayColumn2 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.LastDisplayColumn property returns the zero-based column number of the last displayed column of the left pane in a split tree control.
See Also SftTreeColumns Object | Object Hierarchy