zelarra821
Registered User.
- Local time
- Today, 15:42
- Joined
- Jan 14, 2019
- Messages
- 813
Hello. I have taken a liking to the class modules. I have created another one that works perfectly for me. But there is a detail that I don't know how to do it. I want to pass some code to the detail and header of the form, but I don't know how to do it.
I guess I'll have to declare, at the beginning of the module, something similar to this:
But I can't find what I have to declare. Then I'll have to add an argument to the procedure that starts the class module, but I also don't know how to put it or how to pass the argument value to it.
Could someone help me with these doubts?
Thanks a lot.
I guess I'll have to declare, at the beginning of the module, something similar to this:
Code:
Private WithEvents mCombo As Access.TextBox
But I can't find what I have to declare. Then I'll have to add an argument to the procedure that starts the class module, but I also don't know how to put it or how to pass the argument value to it.
Code:
Public Sub InitalizeMouseWheel(FName As Form, Optional TheTextBox As Access.TextBox, Optional MWheel As Boolean = True, _
Optional SCursor As Boolean)
SetForm = FName
Set mCombo = TheTextBox
Could someone help me with these doubts?
Thanks a lot.