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 first graphic when the button is pressed.
Get
VB.NET | refImageObj = object.Image1Pressed As SftPictureObject |
VB | Set refImageObj = object.Image1Pressed As SftPictureObject |
C#.NET | SftPictureObject refImageObj = object.Image1Pressed; |
VC++ | ISftPictureObject* refImageObj = object->Image1Pressed; ISftPictureObject* refImageObj = object->GetImage1Pressed(); |
C | HRESULT object->get_Image1Pressed(ISftPictureObject** refImageObj); |
Put
VB.NET | object.Image1Pressed = refImageObj As SftPictureObject |
VB | object.Image1Pressed = refImageObj As SftPictureObject |
C#.NET | SftPictureObject object.Image1Pressed = refImageObj; |
VC++ | ISftPictureObject* object->Image1Pressed = refImageObj; void object->PutImage1Pressed(ISftPictureObject* refImageObj); |
C | HRESULT object->put_Image1Pressed(ISftPictureObject* refImageObj); |
object
refImageObj
Defines the first graphic when the button is pressed.
The Image1Pressed property defines the first graphic when the button is pressed.
The Image1Pressed property is only used if the Image1 property defines a valid picture and the button is pressed (see Pressed property).
Private Sub CloseButton_Click() End End Sub Private Sub Form_Load() With SftButton2 ' you could set these at design time using the property pages Set .Image1Pressed.Picture = PictureOn.Picture Set .Image1.Picture = PictureOff.Picture End With End Sub Private Sub ChangePicture_SftButton3() ' Change the pictures based on the button's Pressed status With SftButton3 If .Pressed Then
See Also SftButton Object | Object Hierarchy