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 background image.
Get
VB.NET | refImageObj = object.ImageBackground As SftPictureObject |
VB | Set refImageObj = object.ImageBackground As SftPictureObject |
C#.NET | SftPictureObject refImageObj = object.ImageBackground; |
VC++ | ISftPictureObject* refImageObj = object->ImageBackground; ISftPictureObject* refImageObj = object->GetImageBackground(); |
C | HRESULT object->get_ImageBackground(ISftPictureObject** refImageObj); |
Put
VB.NET | object.ImageBackground = refImageObj As SftPictureObject |
VB | object.ImageBackground = refImageObj As SftPictureObject |
C#.NET | SftPictureObject object.ImageBackground = refImageObj; |
VC++ | ISftPictureObject* object->ImageBackground = refImageObj; void object->PutImageBackground(ISftPictureObject* refImageObj); |
C | HRESULT object->put_ImageBackground(ISftPictureObject* refImageObj); |
object
refImageObj
Defines the background image.
The ImageBackground property defines the background image.
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