This documentation is archived and is not being maintained.

System Color Constant Changes in Visual Basic .NET

The following table shows the Visual Basic 6.0 System Color constants and their Visual Basic .NET equivalents.

Visual Basic 6.0Visual Basic .NET Equivalent
vb3DDKShadowSystem.Drawing.SystemColors.ControlDarkDark
vb3DFaceSystem.Drawing.SystemColors.Control
vb3DHighlightSystem.Drawing.SystemColors.ControlLightLight
vb3DLightSystem.Drawing.SystemColors.ControlLight
vb3DShadowSystem.Drawing.SystemColors.ControlDark
vbActiveBorderSystem.Drawing.SystemColors.ActiveBorder
vbActiveTitleBarSystem.Drawing.SystemColors.ActiveCaption
vbActiveTitleBarTextSystem.Drawing.SystemColors.ActiveCaptionText
vbApplicationWorkspaceSystem.Drawing.SystemColors.AppWorkspace
vbButtonFaceSystem.Drawing.SystemColors.Control
vbButtonShadowSystem.Drawing.SystemColors.ControlDark
vbButtonTextSystem.Drawing.SystemColors.ControlText
vbDesktopSystem.Drawing.SystemColors.Desktop
vbGrayTextSystem.Drawing.SystemColors.GrayText
vbHighlightSystem.Drawing.SystemColors.Highlight
vbHighlightTextSystem.Drawing.SystemColors.HighlightText
vbInactiveBorderSystem.Drawing.SystemColors.InactiveBorder
vbInactiveCaptionTextSystem.Drawing.SystemColors.InactiveCaptionText
vbInactiveTitleBarSystem.Drawing.SystemColors.InactiveCaption
vbInactiveTitleBarTextSystem.Drawing.SystemColors.InactiveCaptionText
vbInfoBackgroundSystem.Drawing.SystemColors.Info
vbInfoTextSystem.Drawing.SystemColors.InfoText
vbMenuBarSystem.Drawing.SystemColors.Menu
vbMenuTextSystem.Drawing.SystemColors.MenuText
vbScrollBarsSystem.Drawing.SystemColors.Scrollbar
vbTitleBarTextSystem.Drawing.SystemColors.ActiveCaptionText
vbWindowBackgroundSystem.Drawing.SystemColors.Window
vbWindowFrameSystem.Drawing.SystemColors.WindowFrame
vbWindowTextSystem.Drawing.SystemColors.WindowText

See Also

Constant Changes in Visual Basic .NET | Color Changes in Visual Basic .NET | Color Behavior Changes in Visual Basic .NET | Color Constant Changes in Visual Basic .NET | Constants and Enumerations

Show: