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 read/only files/folders.
Get
Put
object
Clr
Defines the foreground color of read/only files/folders.
The ForeColorReadOnly property defines the foreground color of read/only files/folders.
If a file/folder is read/only, the foreground color defined using the ForeColorReadOnly property is used to display the file/folder's text. The Folder.ForeColor property overrides a file/folder's foreground color.
AxSftDirectory1.ForeColorCompressed = Color.Red AxSftDirectory1.ForeColorCompressed = ColorTranslator.FromWin32(&HFF&) AxSftDirectory1.ForeColorEncrypted = SystemColors.Highlight AxSftDirectory1.ForeColorEncrypted = Color.Red AxSftDirectory1.ForeColorEncrypted = ColorTranslator.FromWin32(&HFF&) AxSftDirectory1.ForeColorHidden = SystemColors.Highlight AxSftDirectory1.ForeColorHidden = Color.Red AxSftDirectory1.ForeColorHidden = ColorTranslator.FromWin32(&HFF&) AxSftDirectory1.ForeColorReadOnly = SystemColors.Highlight AxSftDirectory1.ForeColorReadOnly = Color.Red AxSftDirectory1.ForeColorReadOnly = ColorTranslator.FromWin32(&HFF&) AxSftDirectory1.SelectBackColor = SystemColors.Highlight AxSftDirectory1.SelectBackColor = Color.Red AxSftDirectory1.SelectBackColor = ColorTranslator.FromWin32(&HFF&) AxSftDirectory1.SelectForeColor = SystemColors.HighlightText AxSftDirectory1.SelectForeColor = Color.White
SftDirectory1.ForeColorCompressed = vbRed SftDirectory1.ForeColorCompressed = &HFF& SftDirectory1.ForeColorEncrypted = vbHighlight SftDirectory1.ForeColorEncrypted = vbRed SftDirectory1.ForeColorEncrypted = &HFF& SftDirectory1.ForeColorHidden = vbHighlight SftDirectory1.ForeColorHidden = vbRed SftDirectory1.ForeColorHidden = &HFF& SftDirectory1.ForeColorReadOnly = vbHighlight SftDirectory1.ForeColorReadOnly = vbRed SftDirectory1.ForeColorReadOnly = &HFF& SftDirectory1.SelectBackColor = vbHighlight SftDirectory1.SelectForeColor = vbHighlightText SftDirectory1.SelectBackColor = vbRed SftDirectory1.SelectForeColor = vbWhite SftDirectory1.SelectBackColor = &HFF
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;
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; 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;
See Also SftDirectory Object | Object Hierarchy