|
-
Aug 2nd, 2000, 03:58 PM
#1
Thread Starter
New Member
I'm not sure how to explain with words, so let me put the code down and maybe someone out there can explain why it doesn't work.
'from class1
Private WithEvents txt As TextBox
Public Property Set TextBoxCtl(OutsideTextBox As TextBox)
Set txt = OutsideTextBox
End Property
'in the main form
Private textcontrol as class1
Set textcontrol = new class1
Set textcontrol.TextBoxCtl = Text1(0)
'Text1(0) being part of a control array
When I run I get the error "Object or class does not support that set of events"
I'm rather new at this and completely baffled.
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
|