enable/disable menu doesn't find the object
Tiemo Hollmann TB
toolbook at kestner.de
Tue Aug 11 08:46:43 EDT 2015
Hello,
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?
Thanks
Tiemo
More information about the use-livecode
mailing list