[Resolved]dont know whats wrong with my code (creating new lable)
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
Re: dont know whats wrong with my code (creating new lable)
umm... label is spelled lable not lable
Re: dont know whats wrong with my code (creating new lable)
Quote:
Originally Posted by Bobalandi
umm... label is spelled lable not lable
omg im so embarrassed , english is not my mother language.
sorry for the bother =\
Re: dont know whats wrong with my code (creating new lable)
ok.. was that the problem?
Re: dont know whats wrong with my code (creating new lable)
yes =\
thank you dude
Rated :thumb: