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 control's background color when pressed.
Get
Put
object
Clr
Defines the control's background color when pressed. For information about color properties, please visit the applicable section "Using SftButton/OCX with ...".
The BackColorPressed property defines the control's background color when pressed.
This property has no effect if Windows themes are used.
The BackColorPressed property defines the control's background color of the button or drop down button when pressed.
AxSftButton1.BackColorStart = Color.Green AxSftButton1.BackColorEnd = Color.Blue AxSftButton1.BackColorFocus = SystemColors.Control AxSftButton1.BackColorFocusStart = Color.Red AxSftButton1.BackColorFocusEnd = Color.Green AxSftButton1.BackColorHover = SystemColors.Control AxSftButton1.BackColorHoverStart = Color.Yellow AxSftButton1.BackColorHoverEnd = Color.Cyan AxSftButton1.BackColorPressed = SystemColors.Control AxSftButton1.DarkEdgeColor = SystemColors.ControlDark AxSftButton1.ForeColor = Color.Black AxSftButton1.ForeColorGrayed = Color.Gray AxSftButton1.ForeColorDownArrow = Color.Blue AxSftButton1.ForeColorPressed = Color.Black AxSftButton1.LightEdgeColor = SystemColors.ControlLight AxSftButton1.ShadowEdgeColor = SystemColors.ControlDarkDark
SftButton1.BackColorStart = vbGreen SftButton1.BackColorEnd = vbBlue SftButton1.BackColorFocus = vbButtonFace SftButton1.BackColorFocusStart = vbRed SftButton1.BackColorFocusEnd = vbGreen SftButton1.BackColorHover = vbButtonFace SftButton1.BackColorHoverStart = vbYellow SftButton1.BackColorHoverEnd = vbCyan SftButton1.BackColorPressed = vbButtonFace SftButton1.DarkEdgeColor = vbButtonShadow SftButton1.ForeColor = vbBlack SftButton1.ForeColorGrayed = vbGray SftButton1.ForeColorDownArrow = vbBlue SftButton1.ForeColorPressed = vbBlack SftButton1.LightEdgeColor = vb3DLight SftButton1.ShadowEdgeColor = vb3DShadow
axSftButton1.BackColorStart = Color.Green; axSftButton1.BackColorEnd = Color.Blue; axSftButton1.BackColorFocus = SystemColors.Control; axSftButton1.BackColorFocusStart = Color.Red; axSftButton1.BackColorFocusEnd = Color.Green; axSftButton1.BackColorHover = SystemColors.Control; axSftButton1.BackColorHoverStart = Color.Yellow; axSftButton1.BackColorHoverEnd = Color.Cyan; axSftButton1.BackColorPressed = SystemColors.Control; axSftButton1.DarkEdgeColor = SystemColors.ControlDark; axSftButton1.ForeColor = Color.Black; axSftButton1.ForeColorGrayed = Color.Gray; axSftButton1.ForeColorDownArrow = Color.Blue; axSftButton1.ForeColorPressed = Color.Black; axSftButton1.LightEdgeColor = SystemColors.ControlLight; axSftButton1.ShadowEdgeColor = SystemColors.ControlDarkDark;
m_vButton->put_BackColorStart(RGB(0,255,0)); m_vButton->put_BackColorEnd(RGB(0,0,255)); m_vButton->put_BackColorFocus(COLOR_BTNFACE|0x80000000L); m_vButton->put_BackColorFocusStart(RGB(255,0,0)); m_vButton->put_BackColorFocusEnd(RGB(0,255,0)); m_vButton->put_BackColorHover(COLOR_BTNFACE|0x80000000L); m_vButton->put_BackColorHoverStart(RGB(0,255,255)); m_vButton->put_BackColorHoverEnd(RGB(255,255,0)); m_vButton->put_BackColorPressed(COLOR_BTNFACE|0x80000000L); m_vButton->put_DarkEdgeColor(COLOR_BTNSHADOW|0x80000000L); m_vButton->put_ForeColor(RGB(0,0,0)); m_vButton->put_ForeColorGrayed(RGB(128,128,128)); m_vButton->put_ForeColorDownArrow(RGB(0,255,0)); m_vButton->put_ForeColorPressed(RGB(0,0,0)); m_vButton->put_LightEdgeColor(COLOR_3DHILIGHT|0x80000000L); m_vButton->put_ShadowEdgeColor(COLOR_3DDKSHADOW|0x80000000);
See Also SftButton Object | Object Hierarchy