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
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
SftTree/NET 2.0 - Tree Control
Defines the number of columns displayed in the left pane of a split tree control.
Get
| VB.NET | Count = object.Column As Short |
| VB | Count = object.Column As Integer |
| C#.NET | short Count = object.Column; |
| VC++ | short Count = object->Column; short Count = object->GetColumn(); |
| C | HRESULT object->get_Column(short* Count); |
Put
| VB.NET | object.Column = Count As Short |
| VB | object.Column = Count As Integer |
| C#.NET | short object.Column = Count; |
| VC++ | short object->Column = Count; void object->PutColumn(short Count); |
| C | HRESULT object->put_Column(short Count); |
object
A SftTreeSplitter object.
Count
Defines the number of columns displayed in the left pane of a split tree control. The number specified must be between 1 and the total number of columns-1.
The Column property defines the number of columns displayed in the left pane of a split tree control.
The total number of columns is defined using the ColumnsObj.Count property.
AddBuiltinImage("Enabled Ascending Indicator", SftPictureImageConstants.sftImageSortAsc, 8, 8)
AddBuiltinImage("Disabled Ascending Indicator", SftPictureImageConstants.sftImageSortAscDisabled, 8, 8)
AddBuiltinImage("Enabled Descending Indicator", SftPictureImageConstants.sftImageSortDesc, 8, 8)
AddBuiltinImage("Disabled Descending Indicator", SftPictureImageConstants.sftImageSortDescDisabled, 8, 8)
AxSftTree1.RowHeaders.MakeOptimal() ' make the row headers optimal
AxSftTree1.get_Column(0).MakeOptimal() ' make the first column optimal
AxSftTree1.Items.RecalcHorizontalExtent() ' update horizontal scroll bar
AxSftTree1.get_Item(0).Selected = True
AxSftTree1.Items.Current = 0
CopyImageFromCurrentItem()
End Sub
AddBuiltinImage("Enabled Ascending Indicator", SftTreeLib80.SftPictureImageConstants.sftImageSortAsc, 8, 8);
AddBuiltinImage("Disabled Ascending Indicator", SftTreeLib80.SftPictureImageConstants.sftImageSortAscDisabled, 8, 8);
AddBuiltinImage("Enabled Descending Indicator", SftTreeLib80.SftPictureImageConstants.sftImageSortDesc, 8, 8);
AddBuiltinImage("Disabled Descending Indicator", SftTreeLib80.SftPictureImageConstants.sftImageSortDescDisabled, 8, 8);
axSftTree1.RowHeaders.MakeOptimal(); // make the row headers optimal
axSftTree1.get_Column(0).MakeOptimal(); // make the first column optimal
axSftTree1.Items.RecalcHorizontalExtent(); // update horizontal scroll bar
axSftTree1.get_Item(0).Selected = true;
axSftTree1.Items.Current = 0;
CopyImageFromCurrentItem();
}
See Also SftTreeSplitter Object | Object Hierarchy
