enable/disable menu doesn't find the object
Tiemo Hollmann TB
toolbook at kestner.de
Tue Aug 11 14:46:43 CEST 2015
I have two alternative menubars in my program.
Most times when I am trying to enable or disable menus with:
disable menu "Foo"
I get the error "no such object"
When using explicit:
disable btn "Foo" of grp "Menubar1" of stack "myStack"
the menu gets disabled.
Any ideas, what could cause that the menu isn't found with syntax 1?
More information about the use-livecode