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 []
Sent: Thursday, August 14, 2003 4:07 PM
Subject: [perl-win32-gui-users] Dynamically changing foreground and
other options


I've been trying to dynamically change the -foreground value for a

The following didnt work:

        $TextField->Change( -foreground => [ 255, 0, 0 ] );

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.


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 !

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.;at.aspnet_072303_01/01
Perl-Win32-GUI-Users mailing list