Thank you very much for your assistance. In the end I reverted to raising an event in the .ocx from within the child form
In the .ocx:
Private WithEvents m_frmCallBack As EditImag
' where EditImage is the form
Private Sub m_frmCallBack_QuitCallBack()
cmdSave_Click
edit_unlock
End Sub...
How can one access a public sub in an activeX control from a form ? The form is started from the control(called shapeCtl) with form1.show 0
The shapeCTL has a public function defined as
Public property let Caption( ByVal Newcaption as string)
msgbox Newcaption
end sub
I would expect to at...
Not too sure what the complication is if the text is already in the control itself. Are you passing value in and want a value out as in the following ASP snippet:
Set ObjReference = Server.CreateObject("reglicense.license")
strReturn = objReference.makeCode(fSerial)
Session("regcode") =...
I have built a control (.ocx) containing a button and a label. The button starts up a form which also has button. When the Form button is pressed I would like to change the text in the control label and the properties of the control label. How can this be done ?
Below is some VB code:
The...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.