Not sure about your first question, but to enable/disable a menu item use: $filemenu->{'Open'}->Enabled(0); # disable $filemenu->{'Open'}->Enabled(1); # enable
-----Original Message----- From: Erik Shön [mailto:[EMAIL PROTECTED] Sent: Thursday, August 14, 2003 4:07 PM To: perl-win32-gui-users@lists.sourceforge.net Subject: [perl-win32-gui-users] Dynamically changing foreground and other options Hello, I've been trying to dynamically change the -foreground value for a textfield. The following didnt work: $TextField->Change( -foreground => [ 255, 0, 0 ] ); $TextField->InvalidateRect(1); Nor did assigning different font objects. And from the info I've gathered on the net, sending a message will only work with RichEdit controls. Also, I havent found any way to Disable / Enable menu items. Thanks! PS: Does anyone knows if a stable version of Win32::GUI is comming anytime soon ? The SourceForge project page seems pretty dead. _________________________________________________________________ MSN Messenger : discutez en direct avec vos amis ! http://messenger.fr.msn.ca/ ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Perl-Win32-GUI-Users mailing list Perl-Win32-GUI-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users