RE: [Komodo-discuss] Re-activate menu
by Jeff Hobbs other posts by this author
Apr 25 2005 10:51PM messages near this date
view in the new Beta List Site
[Komodo-discuss] Re-activate menu
|
[Komodo-discuss] can not run this thread?
I have a menu option disabled and I want to re-active it...
Here's the code:
$menuitem1-> configure( -state => 'normal', );
Here's the error generated:
Tk::Error: Can't set -state to `active' for Tk::Menu=HASH(0x3d5ef14):
unknown option "-state" ...
A menu is the larger widget comprised of items - you should be
using the entryconfigure method of the $menu, as noted here:
http://aspn.activestate.com/ASPN/Perl/Products/ActivePerl/site/lib/Tk/Menu.htm
l
Jeff Hobbs
http://www.ActiveState.com/, a division of Sophos
_______________________________________________
Komodo-discuss mailing list
Komodo-discuss@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Other options: http://listserv.ActiveState.com/mailman/listinfo/Komodo-discuss
Thread:
Dupuis Dominic
Jeff Hobbs
|