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 foreground color of selected files/folders when the control doesn't have the focus.
Get
Put
object
Clr
Defines the foreground color of selected files/folders when the control doesn't have the focus.
The SelectForeColorNoFocus property defines the foreground color of selected files/folders when the control doesn't have the focus.
AxSftDirectory1.SelectBackColor = Color.Red AxSftDirectory1.SelectBackColor = ColorTranslator.FromWin32(&HFF&) AxSftDirectory1.SelectForeColor = SystemColors.HighlightText AxSftDirectory1.SelectForeColor = Color.White AxSftDirectory1.SelectForeColor = ColorTranslator.FromWin32(&HFFFFFF&) AxSftDirectory1.SelectBackColorNoFocus = SystemColors.Highlight AxSftDirectory1.SelectBackColorNoFocus = Color.Red AxSftDirectory1.SelectBackColorNoFocus = ColorTranslator.FromWin32(&HFF&) AxSftDirectory1.SelectForeColorNoFocus = SystemColors.HighlightText AxSftDirectory1.SelectForeColorNoFocus = Color.White AxSftDirectory1.SelectForeColorNoFocus = ColorTranslator.FromWin32(&HFFFFFF&) AxSftDirectory1.get_ColumnEntry(0).BackColor = Convert.ToUInt32(ColorTranslator.ToOle(SystemColors.Highlight) And &HFFFFFFFF&) AxSftDirectory1.get_ColumnEntry(0).ForeColor = Convert.ToUInt32(ColorTranslator.ToOle(SystemColors.HighlightText) And &HFFFFFFFF&) AxSftDirectory1.get_ColumnEntry(0).SelectBackColor = Convert.ToUInt32(ColorTranslator.ToOle(Color.White)) AxSftDirectory1.get_ColumnEntry(0).SelectForeColor = Convert.ToUInt32(&H0&) AxSftDirectory1.CurrentFolder.BackColor = Convert.ToUInt32(ColorTranslator.ToOle(SystemColors.Control) And &HFFFFFFFF&)
SftDirectory1.ForeColorReadOnly = &HFF& SftDirectory1.SelectBackColor = vbHighlight SftDirectory1.SelectForeColor = vbHighlightText SftDirectory1.SelectBackColor = vbRed SftDirectory1.SelectForeColor = vbWhite SftDirectory1.SelectBackColor = &HFF SftDirectory1.SelectForeColor = &HFFFFFF SftDirectory1.SelectBackColorNoFocus = vbHighlight SftDirectory1.SelectForeColorNoFocus = vbHighlightText SftDirectory1.SelectBackColorNoFocus = vbRed SftDirectory1.SelectForeColorNoFocus = vbWhite SftDirectory1.SelectBackColorNoFocus = &HFF SftDirectory1.SelectForeColorNoFocus = &HFFFFFF SftDirectory1.ColumnEntry(0).BackColor = vbHighlight SftDirectory1.ColumnEntry(0).ForeColor = vbHighlightText SftDirectory1.ColumnEntry(0).SelectBackColor = vbWhite
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);
vDir1->ForeColorHidden = RGB(0xff, 0, 0); vDir1->ForeColorReadOnly = 0x80000000L | COLOR_HIGHLIGHT; vDir1->ForeColorReadOnly = RGB(0xff, 0, 0); vDir1->SelectBackColor = 0x80000000L | COLOR_HIGHLIGHT; vDir1->SelectForeColor = 0x80000000L | COLOR_HIGHLIGHTTEXT; vDir1->SelectBackColor = RGB(0xff, 0, 0); vDir1->SelectForeColor = RGB(0xff, 0xff, 0xff); vDir1->SelectBackColorNoFocus = 0x80000000L | COLOR_HIGHLIGHT; vDir1->SelectForeColorNoFocus = 0x80000000L | COLOR_HIGHLIGHTTEXT; vDir1->SelectBackColorNoFocus = RGB(0xff, 0, 0); vDir1->SelectForeColorNoFocus = RGB(0xff, 0xff, 0xff); vDir1->ColumnEntry[0]->BackColor = 0x80000000L | COLOR_HIGHLIGHT; vDir1->ColumnEntry[0]->ForeColor = 0x80000000L | COLOR_HIGHLIGHTTEXT; vDir1->ColumnEntry[0]->SelectBackColor = RGB(0xff, 0xff, 0xff); vDir1->ColumnEntry[0]->SelectForeColor = RGB(0, 0, 0); vDir1->CurrentFolder->BackColor = 0x80000000L | COLOR_BTNFACE;
See Also SftDirectory Object | Object Hierarchy