FancyPrairie
Programmer
I have a transparent tab control containing several controls. It appears that the tab control has a padding (or margin) set so to 75. I would like to set it to 0. How do I do that?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Private Sub Form_Load()
Dim i As Integer
Dim lblWidth As Long
Dim tempLeft As Long
'Need a lblHilite on the form somewhere
Me.tbCtrl1.Style = 0
Me.tbCtrl1.BackStyle = 0
'Format lblhilite
With Me.lblHilite
.Width = Me.tbCtrl1.Width
.Height = Me.tbCtrl1.Height
.Top = Me.tbCtrl1.Top + 15
.Left = Me.tbCtrl1.Left
.Caption = ""
.BackColor = vbRed
End With
End Sub