HeaderPane
Main
Hide

SftButton/OCX 4.0 - ActiveX Button Control

Share Link
Print

BackColorPressed Property, SftButton Object

Defines the control's background color when pressed.

Syntax

Get

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

Put

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

object

A SftButton object.

Clr

Defines the control's background color when pressed. For information about color properties, please visit the applicable section "Using SftButton/OCX with ...".

Comments

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.

See Also SftButton Object | Object Hierarchy


Last Updated 08/23/2026 - (email)
© 2026 Softel vdm, Inc.