how do i creat new lable?
i tryed same as new picturebox but its dident worked
here is my code >>
the error is "user define type not defined"
Code:Private Sub Command1_Click() Dim Lable1 As Lable Set Lable1 = Me.Controls.Add("VB.Lable", "newLable") With Lable1 .Left = 0 .Top = 0 .Width = 250 .Height = 250 .Visible = True .BackColor = &H80000003 End With End Sub






Reply With Quote