Hide

SftDirectory 3.5 - ActiveX File/Folder Control

Display
Print

Colors Sample (VB6)

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.

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
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
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
SftDirectory1.ColumnEntry(0).SelectForeColor = &H0
SftDirectory1.CurrentFolder.BackColor = vbButtonFace
SftDirectory1.CurrentFolder.ForeColor = vbBlack
SftDirectory1.CurrentFolder.ForeColor = &H0
SftDirectory1.Headers.BackColor = vbHighlight
SftDirectory1.Headers.ForeColor = vbHighlightText
SftDirectory1.Headers.GrayedColor = vbGray
SftDirectory1.Headers.DarkEdgeColor = vbGray
SftDirectory1.Headers.LightEdgeColor = &HFF

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