SftButton/DLL 3.0 - Button Control (Coming Soon)
SftTabs/DLL 7.0 - Tab Control (Coming Soon)
SftTree/DLL 7.5 - Tree Control
SftTree/DLL 8.0 - Tree Control (Coming Soon)
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 border color of the color sample.
| Get | |||
| VB | Clr = object.FrameColor As OLE_COLOR | ||
| Put | |||
| VB | object.FrameColor = Clr As OLE_COLOR |
object
Clr
Defines the border color of the color sample. Specify -1 to omit the border of the color sample.
The FrameColor property defines the border color of the color sample.
The SftPictureObject.Type property is set to sftTypeColorSample.
The SftPictureObject.Height and SftPictureObject.Width properties should be used to define the requested image size.
The SftPictureObject.SampleColor property can be used to define the sample color.
This example adds a color sample to the first tab. Clicking on a button changes the colors.
Private Sub Command1_Click()
With SftTabs1.Direct
.Tab(0).Image.FrameColor = vbGreen
.Tab(0).Image.SampleColor = vbRed
End With
End Sub
Private Sub Form_Load()
With SftTabs1.Direct
.Style = styleSftTabsModernTop
.Tab(0).Image.SetColorSample vbBlue, vbRed
End With
End SubSee Also SftPictureObject Object | Object Hierarchy
