Hello Eric,

Wednesday, June 02, 1999, you wrote:

EH> Hello all,
EH>     I'm using this command:
$MENU->>{USETTINGS}->Enabled(0); 

EH> to enable and disable a menu item in a menu. However,
EH> when I try to run a script using this syntax in 
EH> build 335 I get this error:

EH> Your vendor has not defined Win32::GUI macro Enabled, used at test.pl line 749
EH> . at c:\perl\lib/Win32/GUI.pm line 361, <SFILE> chunk 5.

EH> Anyone else getting this error or know the cause?
I think we have error in "menu" implementation, because i try to use
simple submenu:
---
$M = new Win32::GUI::Menu(
    "&File"     => "File",
    " > &Open"  => "Open",
    " > &Save"  => "Save",
    " > -"  => "-",
    " > &More..."  => "More",
    " >> More&1"  => "More1",   # here if i set ">" instead ">>"
    " >> More&2"  => "More2",   # my script work normally
    " >> More&3"  => "More3",   #
    " > -"  => "-",
    " > E&xit"  => "Exit",
    "&About"  => "About"
);
---

and get almost same error:
---
Your vendor has not defined Win32::GUI macro SetMenuItemInfo, used at 
C:\Perl\lib/Win32/GUI.pm line 486. at C:\Perl\lib/Win32/GUI.pm line 361.
---

Best regards,
 Max                            mailto:[EMAIL PROTECTED]



Reply via email to