|
-
Aug 13th, 2007, 08:59 PM
#1
Thread Starter
Addicted Member
[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
Last edited by Incures; Aug 13th, 2007 at 11:05 PM.
vb Code:
If(this post = helped you) then
You.rate = me
End if
 
**Fazi's idea =]
-
Aug 13th, 2007, 09:05 PM
#2
Hyperactive Member
Re: dont know whats wrong with my code (creating new lable)
umm... label is spelled lable not lable
Haikus are easy.
But sometimes they don't make sense.
Refrigerator.
-
Aug 13th, 2007, 09:13 PM
#3
Thread Starter
Addicted Member
Re: dont know whats wrong with my code (creating new lable)
 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 =\
vb Code:
If(this post = helped you) then
You.rate = me
End if
 
**Fazi's idea =]
-
Aug 13th, 2007, 09:15 PM
#4
Hyperactive Member
Re: dont know whats wrong with my code (creating new lable)
ok.. was that the problem?
Haikus are easy.
But sometimes they don't make sense.
Refrigerator.
-
Aug 13th, 2007, 11:04 PM
#5
Thread Starter
Addicted Member
Re: dont know whats wrong with my code (creating new lable)
yes =\
thank you dude
Rated
vb Code:
If(this post = helped you) then
You.rate = me
End if
 
**Fazi's idea =]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|