Hide

SftDirectory 3.5 - ActiveX File/Folder Control

Display
Print

SftDirectory.ForeColorArchiveReady Property

Defines the foreground color of files/folders ready to be archived.

Syntax

Get

VB.NETClr = object.ForeColorArchiveReady As System.Drawing.Color
VBClr = object.ForeColorArchiveReady As OLE_COLOR
C#.NETSystem.Drawing.Color Clr = object.ForeColorArchiveReady;
VC++OLE_COLOR Clr = object->ForeColorArchiveReady;
OLE_COLOR Clr = object->GetForeColorArchiveReady();
CHRESULT object->get_ForeColorArchiveReady(OLE_COLOR* Clr);

Put

VB.NETobject.ForeColorArchiveReady = Clr As System.Drawing.Color
VBobject.ForeColorArchiveReady = Clr As OLE_COLOR
C#.NETSystem.Drawing.Color object.ForeColorArchiveReady = Clr;
VC++OLE_COLOR object->ForeColorArchiveReady = Clr;
void object->PutForeColorArchiveReady(OLE_COLOR Clr);
CHRESULT object->put_ForeColorArchiveReady(OLE_COLOR Clr);

object

A SftDirectory object.

Clr

Defines the foreground color of files/folders ready to be archived.

Comments

The ForeColorArchiveReady property defines the foreground color of files/folders ready to be archived.

If a file/folder is ready to be archived, the foreground color defined using the ForeColorArchiveReady property is used to display the file/folder's text. The Folder.ForeColor property overrides a file/folder's foreground color.

The "ready to be archived" status is not maintained by SftDirectory. A folder is marked ready to be archived by the operating system, when it is modified.

Examples

VB.NET

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
AxSftDirectory1.ForeColorEncrypted = Color.Red

VB6

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
SftDirectory1.ForeColorEncrypted = vbRed

C#

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;

C++

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


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.