referencing control on .ctl

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Ike

    #1

    referencing control on .ctl

    I have a combobox on an activex ctl file, (TobulControl.c tl). I have a
    button on the ctl file too, and when the button is pressed, a dialog box
    opens. Within the code of this dialog box, I refer to this combobox with:

    If TobulControl.Co mbo1.ListIndex <> 8 Then

    whereupon at this line I get a "Runtime Error 424 : Object Required"

    How can I access the ctl file. It;s name is TobulControl.ct l, and it is
    saved as TobulControl.ct l ? Thanks, Ike


Working...