SheetTab Constructor(Control,Color,Color,Font,Int32)
In This Topic
Creates a new sheet name tab for the specified control with the specified appearance and size settings.
Syntax
'Declaration
Public Function New( _
ByVal As Control, _
ByVal As Color, _
ByVal As Color, _
ByVal As Font, _
ByVal As Integer _
)
'Usage
Dim owner As Control
Dim backColor As Color
Dim foreColor As Color
Dim font As Font
Dim size As Integer
Dim instance As New SheetTab(owner, backColor, foreColor, font, size)
public SheetTab(
Control ,
Color ,
Color ,
Font ,
int
)
Parameters
- owner
- Control that owns the new sheet tab (SheetTab object)
- backColor
- Background color of the sheet tab
- foreColor
- Text color of the sheet tab
- font
- Text font of the sheet tab
- size
- Integer width of the tab in pixels
See Also