LeonLanford
Active member
- Joined
- Dec 2, 2008
- Messages
- 28
- Programming Experience
- Beginner
Hi..
How to make label transparent? I want to make the percent progress on top of the progress bar, I tried transparent but it didn't working.. It has white background
the code is like this
thanks.. hope you can help me
How to make label transparent? I want to make the percent progress on top of the progress bar, I tried transparent but it didn't working.. It has white background
the code is like this
VB.NET:
Public Class Form1
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
If ProgressBar1.Value < 100 Then
ProgressBar1.Value += 1
Label1.Text = ProgressBar1.Value & " %"
'Me.Label1.BackColor = System.Drawing.Color.Transparent
Else
Timer1.Enabled = False
End If
End Sub
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Label1.BackColor = Color.Transparent
Label1.ForeColor = Color.Blue
End Sub
End Class
thanks.. hope you can help me
Last edited by a moderator: