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
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
SftTree/NET 2.0 - Tree Control
Defines the background image when the button is pressed.
Get
| VB.NET | refImageObj = object.ImageBackgroundPressed As SftPictureObject |
| VB | Set refImageObj = object.ImageBackgroundPressed As SftPictureObject |
| C#.NET | SftPictureObject refImageObj = object.ImageBackgroundPressed; |
| VC++ | ISftPictureObject* refImageObj = object->ImageBackgroundPressed; ISftPictureObject* refImageObj = object->GetImageBackgroundPressed(); |
| C | HRESULT object->get_ImageBackgroundPressed(ISftPictureObject** refImageObj); |
Put
| VB.NET | object.ImageBackgroundPressed = refImageObj As SftPictureObject |
| VB | object.ImageBackgroundPressed = refImageObj As SftPictureObject |
| C#.NET | SftPictureObject object.ImageBackgroundPressed = refImageObj; |
| VC++ | ISftPictureObject* object->ImageBackgroundPressed = refImageObj; void object->PutImageBackgroundPressed(ISftPictureObject* refImageObj); |
| C | HRESULT object->put_ImageBackgroundPressed(ISftPictureObject* refImageObj); |
object
refImageObj
Defines the background image when the button is pressed.
The ImageBackgroundPressed property defines the background image when the button is pressed.
Each button control offers an optional background image, which is always displayed centered within the available space inside the button. Other components of the button, like the attributes defined using the Text, Image1 or Image2 properties, simply overlay the background image.
Depending on the button state, the background image defined using the ImageBackground, ImageBackgroundDisabled, ImageBackgroundHover or ImageBackgroundPressed is displayed.
The background image is not displayed in the drop down portion of a drop down button.
See Also SftButton Object | Object Hierarchy
