ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> komodo-discuss
komodo-discuss
[Komodo-discuss] Re-activate menu
by Dupuis Dominic other posts by this author
Apr 25 2005 8:32AM messages near this date
view in the new Beta List Site
[Komodo-discuss] RE: Insertion of dialogs into tabnotebook widgets | RE: [Komodo-discuss] Re-activate menu
Bonjour,
 
    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" at C:/Perl/site/lib/Tk/Configure.pm line 46, <DATA> 
line 283.
 at C:/Perl/site/lib/Tk/Derived.pm line 294
 
    Where's my mistake?!?!?  Don't understand....  :-(
 
    Thanks for your help!
 
---
Dub
 
Attachments:
unknown1
unknown2
unknown3
unknown4

Thread:
Dupuis Dominic
Jeff Hobbs

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved