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
This sample illustrates working with colors.
This is not an executable sample, so a complete project is not provided. These statements are intended to show the syntax used.
axSftDirectory1.ActiveColumnBackColor = SystemColors.Highlight; axSftDirectory1.ActiveColumnBackColor = Color.Red; axSftDirectory1.ActiveColumnBackColor = OLECvt.ToColor(0x0000FF); axSftDirectory1.BackColor = SystemColors.Highlight; axSftDirectory1.ForeColor = SystemColors.HighlightText; axSftDirectory1.BackColor = Color.Red; axSftDirectory1.ForeColor = Color.White; axSftDirectory1.BackColor = OLECvt.ToColor(0x00000ff); axSftDirectory1.ForeColor = OLECvt.ToColor(0x0ffffff); axSftDirectory1.ForeColorArchiveReady = SystemColors.Highlight; axSftDirectory1.ForeColorArchiveReady = Color.Red; axSftDirectory1.ForeColorArchiveReady = OLECvt.ToColor(0x00000ff); axSftDirectory1.ForeColorCompressed = SystemColors.Highlight; axSftDirectory1.ForeColorCompressed = Color.Red; axSftDirectory1.ForeColorCompressed = OLECvt.ToColor(0x00000ff); axSftDirectory1.ForeColorEncrypted = SystemColors.Highlight; axSftDirectory1.ForeColorEncrypted = Color.Red; axSftDirectory1.ForeColorEncrypted = OLECvt.ToColor(0x00000ff); axSftDirectory1.ForeColorHidden = SystemColors.Highlight; axSftDirectory1.ForeColorHidden = Color.Red; axSftDirectory1.ForeColorHidden = OLECvt.ToColor(0x00000ff); axSftDirectory1.ForeColorReadOnly = SystemColors.Highlight; axSftDirectory1.ForeColorReadOnly = Color.Red; axSftDirectory1.ForeColorReadOnly = OLECvt.ToColor(0x00000ff); axSftDirectory1.SelectBackColor = SystemColors.Highlight; axSftDirectory1.SelectBackColor = Color.Red; axSftDirectory1.SelectBackColor = OLECvt.ToColor(0x00000ff); axSftDirectory1.SelectForeColor = SystemColors.HighlightText; axSftDirectory1.SelectForeColor = Color.White; axSftDirectory1.SelectForeColor = OLECvt.ToColor(0x0ffffff); axSftDirectory1.SelectBackColorNoFocus = SystemColors.Highlight; axSftDirectory1.SelectBackColorNoFocus = Color.Red; axSftDirectory1.SelectBackColorNoFocus = OLECvt.ToColor(0x00000ff); axSftDirectory1.SelectForeColorNoFocus = SystemColors.HighlightText; axSftDirectory1.SelectForeColorNoFocus = Color.White; axSftDirectory1.SelectForeColorNoFocus = OLECvt.ToColor(0x0ffffff); axSftDirectory1.get_ColumnEntry(0).BackColor = OLECvt.ToOleColor(SystemColors.Highlight); axSftDirectory1.get_ColumnEntry(0).ForeColor = OLECvt.ToOleColor(SystemColors.HighlightText); axSftDirectory1.get_ColumnEntry(0).SelectBackColor = OLECvt.ToOleColor(Color.White); axSftDirectory1.get_ColumnEntry(0).SelectForeColor = 0x000000; axSftDirectory1.CurrentFolder.BackColor = OLECvt.ToOleColor(SystemColors.Control); axSftDirectory1.CurrentFolder.ForeColor = OLECvt.ToOleColor(Color.Black); axSftDirectory1.CurrentFolder.ForeColor = 0x000000; axSftDirectory1.Headers.BackColor = OLECvt.ToOleColor(SystemColors.Highlight); axSftDirectory1.Headers.ForeColor = OLECvt.ToOleColor(Color.Black); axSftDirectory1.Headers.GrayedColor = OLECvt.ToOleColor(Color.Gray); axSftDirectory1.Headers.DarkEdgeColor = OLECvt.ToOleColor(Color.Gray); axSftDirectory1.Headers.LightEdgeColor = 0x0000ff;