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 SftBoxRowHeaders object.
Get
VB.NET | refRowHeadersObj = object.RowHeaders As SftBoxRowHeaders |
VB | Set refRowHeadersObj = object.RowHeaders As SftBoxRowHeaders |
C#.NET | SftBoxRowHeaders refRowHeadersObj = object.RowHeaders; |
VC++ | ISftBoxRowHeaders* refRowHeadersObj = object->RowHeaders; ISftBoxRowHeaders* refRowHeadersObj = object->GetRowHeaders(); |
C | HRESULT object->get_RowHeaders(ISftBoxRowHeaders** refRowHeadersObj); |
object
refRowHeadersObj
Returns a reference to the control's SftBoxRowHeaders object.
The RowHeaders property returns the SftBoxRowHeaders object.
The default properties and behavior of the row headers can be updated using the returned SftBoxRowHeaders object.
A SftBoxRowHeader object for a specific item can be retrieved using the Item.RowHeader property.
AxSftBox1.get_Item(ItemIndex).Level = 1 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) AxSftBox1.RowHeaders.MakeOptimal(0) ' make the row headers optimal AxSftBox1.get_Column(0).MakeOptimal(0) ' make the first column optimal AxSftBox1.Items.RecalcHorizontalExtent(0) ' update horizontal scroll bar AxSftBox1.Items.Selection = 0 CopyImageFromCurrentItem() End Sub
.Item(ItemIndex).Level = 1 AddBuiltinImage "Enabled Ascending Indicator", sftImageSortAsc, 8, 8 AddBuiltinImage "Disabled Ascending Indicator", sftImageSortAscDisabled, 8, 8 AddBuiltinImage "Enabled Descending Indicator", sftImageSortDesc, 8, 8 AddBuiltinImage "Disabled Descending Indicator", sftImageSortDescDisabled, 8, 8 .RowHeaders.MakeOptimal 0 ' make the row headers optimal .Column(0).MakeOptimal 0 ' make the first column optimal .Items.RecalcHorizontalExtent 0 ' update horizontal scroll bar .Items.Selection = 0 CopyImageFromCurrentItem
axSftBox1.get_Item(ItemIndex).Level = 1; 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); axSftBox1.RowHeaders.MakeOptimal(0); // make the row headers optimal axSftBox1.get_Column(0).MakeOptimal(0); // make the first column optimal axSftBox1.Items.RecalcHorizontalExtent(0); // update horizontal scroll bar axSftBox1.Items.Selection = 0; CopyImageFromCurrentItem(); }
m_vBox->Item[ItemIndex]->Level = 1; AddBuiltinImage(_T("Enabled Ascending Indicator"), sftImageSortAsc, 8, 8); AddBuiltinImage(_T("Disabled Ascending Indicator"), sftImageSortAscDisabled, 8, 8); AddBuiltinImage(_T("Enabled Descending Indicator"), sftImageSortDesc, 8, 8); AddBuiltinImage(_T("Disabled Descending Indicator"), sftImageSortDescDisabled, 8, 8); m_vBox->RowHeaders->MakeOptimal(0); // make the row headers optimal m_vBox->Column[0]->MakeOptimal(0); // make the first column optimal m_vBox->Items->RecalcHorizontalExtent(0); // update horizontal scroll bar m_vBox->Items->Selection = 0; CopyImageFromCurrentItem();
See Also SftBox Object | Object Hierarchy