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 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 Sub
See Also SftPictureObject Object | Object Hierarchy