Sub (a)
Msgbox (" test ")
End sub
Could you tell me how to call this method a in ocx
CodePudding user response:
Ocx defines an event, ocx triggered this event,The main program written for this event is a process, call inside a ()
CodePudding user response:
If you are sure ocx must be in the form of words, uocx ocx is write their own, have the container property, returns the ocx in containers (form) of references,Have quoted can,,,,
Option Explicit
Public Sub (a)
The Debug. Print "aa"
End Sub
Private Sub Form_Load ()
Uocx1. Container. A
End Sub