|
-
Mar 27th, 2000, 10:09 PM
#1
Thread Starter
New Member
hi,
i've just started fooling around with classes in vb.
could someone tell me why this is returning with an error saying 'method or data member not found'?
thanks
//class module
Option Explicit
Private c_name
Public Property Get labelname() As String
labelname = c_name
End Property
Public Property Let labelname(ByVal name As String)
c_name = name
End Property
//form
Public Sub Command1_Click()
Label1.labelname = "john"
End Sub
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
|