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 image object using an OLE Picture object (IPictureDisp interface).
Get | |||
VB | Set pPictureDisp = object.Picture As IPictureDisp | ||
Put | |||
VB | object.Picture = pPictureDisp As IPictureDisp | ||
PutRef | |||
VB | Set object.Picture = pPictureDisp As IPictureDisp |
object
pPictureDisp
Defines the image object using an OLE Picture object.
The Picture property defines the image object using an OLE Picture object (IPictureDisp interface).
If the image is based on a bitmap, bitmap transparency is used.
The SftPictureObject.Type property is set to sftTypeIDispatch. The SftPictureObject.ActualHeight and SftPictureObject.ActualWidth properties reflect the image size.
This example assigns an image from a PictureBox to the first tab.
Private Sub Form_Load() With SftTabs1.Direct Set .Tab(0).Image.Picture = Picture1.Picture End With End Sub
See Also SftPictureObject Object | Object Hierarchy