cargobay69
Nov 21st, 2002, 01:37 PM
i am creating a new ocx. It includes the control (CompMon.ctl), a form (frmProperties.frm) and a module (modMain.bas). In the module I have a procedure that needs to change the property of an object in the control file (CompMon.ctl), how do I access / reference the embedded object.
This is what I expected to work:
UserControl.tmrPing.Enabled = False
or
CompMon.tmrPing.Enabled = False
Neither option works. Simply, how can reference the objects and properties of the control from within an included module?
Thanks
This is what I expected to work:
UserControl.tmrPing.Enabled = False
or
CompMon.tmrPing.Enabled = False
Neither option works. Simply, how can reference the objects and properties of the control from within an included module?
Thanks