LuckyStarr
Programmer
Hi guys,
I would be glad if you could answer my question.
I have a form, with a menu named mnuSave. Besides that, I have a source code file, named OFCVB.bas .
Now, I want mnuSave to have its "enabled" property set to True when something happens inside OFCVB.bas .
I'm trying this: frmFCT.mnuSave.enabled = True
However, the menu is not enabled after that!
The watch window shows: "Object variable or With Block variable not set".
Do I have to initialize something before?
Can you help me please? Thanks!
I would be glad if you could answer my question.
I have a form, with a menu named mnuSave. Besides that, I have a source code file, named OFCVB.bas .
Now, I want mnuSave to have its "enabled" property set to True when something happens inside OFCVB.bas .
I'm trying this: frmFCT.mnuSave.enabled = True
However, the menu is not enabled after that!
The watch window shows: "Object variable or With Block variable not set".
Do I have to initialize something before?
Can you help me please? Thanks!