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
Defines the background color.
Get
Put
object
Clr
Defines the background color.
The BackColor property defines the background color.
The background color is used throughout the control for all folders. Columns can override the background color using the Column.BackColor property. Individual folders can override the background color using the Folder.BackColor property.
The ActiveColumnBackColor property defines the background color of the active column and overrides the BackColor property.
The BackColor property does not affect the column headers (see Headers.BackColor instead).
AxSftDirectory1.ActiveColumnBackColor = SystemColors.Highlight AxSftDirectory1.ActiveColumnBackColor = Color.Red AxSftDirectory1.ActiveColumnBackColor = ColorTranslator.FromWin32(&HFF&) AxSftDirectory1.BackColor = SystemColors.Highlight AxSftDirectory1.ForeColor = SystemColors.HighlightText AxSftDirectory1.BackColor = Color.Red AxSftDirectory1.ForeColor = Color.White AxSftDirectory1.BackColor = ColorTranslator.FromWin32(&HFF&) AxSftDirectory1.ForeColor = ColorTranslator.FromWin32(&HFFFFFF&) AxSftDirectory1.ForeColorArchiveReady = SystemColors.Highlight AxSftDirectory1.ForeColorArchiveReady = Color.Red AxSftDirectory1.ForeColorArchiveReady = ColorTranslator.FromWin32(&HFF&) AxSftDirectory1.ForeColorCompressed = SystemColors.Highlight AxSftDirectory1.ForeColorCompressed = Color.Red AxSftDirectory1.ForeColorCompressed = ColorTranslator.FromWin32(&HFF&) AxSftDirectory1.ForeColorEncrypted = SystemColors.Highlight
SftDirectory1.ActiveColumnBackColor = vbHighlight SftDirectory1.ActiveColumnBackColor = vbRed SftDirectory1.ActiveColumnBackColor = &HFF& SftDirectory1.BackColor = vbHighlight SftDirectory1.ForeColor = vbHighlightText SftDirectory1.BackColor = vbRed SftDirectory1.ForeColor = vbWhite SftDirectory1.BackColor = &HFF SftDirectory1.ForeColor = &HFFFFFF SftDirectory1.ForeColorArchiveReady = vbHighlight SftDirectory1.ForeColorArchiveReady = vbRed SftDirectory1.ForeColorArchiveReady = &HFF& SftDirectory1.ForeColorCompressed = vbHighlight SftDirectory1.ForeColorCompressed = vbRed SftDirectory1.ForeColorCompressed = &HFF& SftDirectory1.ForeColorEncrypted = vbHighlight
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;
ISftDirectoryPtr vDir1 = m_Dir1.GetControlUnknown(); vDir1->ActiveColumnBackColor = 0x80000000L | COLOR_HIGHLIGHT; vDir1->ActiveColumnBackColor = RGB(0xff, 0, 0); vDir1->BackColor = 0x80000000L | COLOR_HIGHLIGHT; vDir1->ForeColor = 0x80000000L | COLOR_HIGHLIGHTTEXT; vDir1->BackColor = RGB(0xff, 0, 0); vDir1->ForeColor = RGB(0xff, 0xff, 0xff); vDir1->ForeColorArchiveReady = 0x80000000L | COLOR_HIGHLIGHT; vDir1->ForeColorArchiveReady = RGB(0xff, 0, 0); vDir1->ForeColorCompressed = 0x80000000L | COLOR_HIGHLIGHT; vDir1->ForeColorCompressed = RGB(0xff, 0, 0); vDir1->ForeColorEncrypted = 0x80000000L | COLOR_HIGHLIGHT; vDir1->ForeColorEncrypted = RGB(0xff, 0, 0); vDir1->ForeColorHidden = 0x80000000L | COLOR_HIGHLIGHT; vDir1->ForeColorHidden = RGB(0xff, 0, 0); vDir1->ForeColorReadOnly = 0x80000000L | COLOR_HIGHLIGHT;
See Also SftDirectory Object | Object Hierarchy