Here is the mpr of the shortcut menu.
I know you will see something that is causing my problem.
*
DEFINE POPUP shortcut SHORTCUT RELATIVE FROM MROW(),MCOL()
DEFINE BAR 1 OF shortcut PROMPT " Import" ;
PICTURE "..\program files\microsoft visual foxpro 7\copy.bmp"
DEFINE BAR 2 OF shortcut PROMPT "\-"
DEFINE BAR _med_copy OF shortcut PROMPT "\<Copy" ;
KEY CTRL+C, "Ctrl+C" ;
MESSAGE "Copies the selection onto the Clipboard"
DEFINE BAR _med_paste OF shortcut PROMPT "\<Paste" ;
KEY CTRL+V, "Ctrl+V" ;
MESSAGE "Pastes the contents of the Clipboard"
DEFINE BAR 5 OF shortcut PROMPT "\-"
DEFINE BAR _med_cut OF shortcut PROMPT "Cu\<t" ;
KEY CTRL+X, "Ctrl+X" ;
MESSAGE "Removes the selection and places it onto the Clipboard"
DEFINE BAR _med_undo OF shortcut PROMPT "\<Undo" ;
KEY CTRL+Z, "Ctrl+Z" ;
MESSAGE "Undoes the last command or action"
DEFINE BAR 8 OF shortcut PROMPT "\-"
DEFINE BAR 9 OF shortcut PROMPT " Cancel" ;
PICTURE "..\program files\microsoft visual foxpro 7\wzclose.bmp"
ON SELECTION BAR 1 OF shortcut ;
DO _13k0di594 ;
IN LOCFILE("\SIL\SFDOC" ,"MPX;MPR|FXP;PRG" ,"WHERE is SFDOC?"
ACTIVATE POPUP shortcut
* *********************************************************
*
PROCEDURE _13k0di594
SELECT PJ
DO FORM import_sfdoc
Thanks Betty
