Place the & character before the character  that you would like the user to
use with the ALT key.  example  ALT-F, ALT-L will run FILE->Load EDI/ASN
File.

Regards,
Eric

use Win32::GUI;

$M = new Win32::GUI::Menu(
    "&File"     => "File",
    " > &Load EDI/ASN File" => "Load",
    " > Create &CRM File" => "CreateCrm",
    " > Create &Bill File" => "CreateBil",
    " > &Exit"  => "Exit",
    "&Browse" => "DBBrowse",
    " > &Browse Database by PO#" => "Browse",
    " > &View Event Logs" => "ViewLog",
    "&Reports" => "Reports",
    " > &Shipper Report" => "Shipper",
    " > &Tracking Number Report" => "TrackNum",
    "&Update" => "Update",
    " > &Destructive Database Delete" => "Delete",
    " > &Receive a Tracking#" => "Receive",
    "&Help" => "Help",
    " > &About - EDI/ASN Module Menu" => "About",
);


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Thomas, Timothy B
Sent: Wednesday, January 05, 2000 1:10 PM
To: '[EMAIL PROTECTED]'
Subject: [perl-win32-gui] Shortcut Keys


Does anyone know how to assign shortcut keys to Menu items. Like F5
associated with a View | Refresh?
        Thanks,
                Tim Thomas


Reply via email to