I tried that as well - VFP gets confused if system menu is active. (And in my case it is). ----- Original Message ----- From: "Allen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, August 18, 2006 1:42 PM
Subject: RE: Shortcut menu


Not sure but do you need to make the edit popup _medit ?
Allen

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Grigore Dolghin
Sent: 18 August 2006 11:33
To: [EMAIL PROTECTED]
Subject: Shortcut menu

I've ran into a weird problem regarding to shorcut menus. The code is posted

below. This shortcut menu shows Copy, Paste, Select All and so on. However,
they're ALWAYS active, no matter what. Normally, Copy option should be
active only if some text is selected in the control.

Anyone knows why?

DEFINE POPUP FoxShortcutMenu SHORTCUT RELATIVE FROM MROW(),MCOL()
DEFINE BAR _med_undo OF foxshortcutmenu PROMPT "\<Undo" ;
KEY CTRL+Z, "Ctrl+Z"
DEFINE BAR _med_redo OF foxshortcutmenu PROMPT "Re\<do" ;
KEY CTRL+R, "Ctrl+R"
DEFINE BAR _med_sp100 OF foxshortcutmenu PROMPT "\-"
DEFINE BAR _med_cut OF foxshortcutmenu PROMPT "Cu\<t" ;
KEY CTRL+X, "Ctrl+X"
DEFINE BAR _med_copy OF foxshortcutmenu PROMPT "\<Copy" ;
KEY CTRL+C, "Ctrl+C"
DEFINE BAR _med_paste OF foxshortcutmenu PROMPT "\<Paste" ;
KEY CTRL+V, "Ctrl+V"
DEFINE BAR _med_pstlk OF foxshortcutmenu PROMPT "Paste \<Special..."
DEFINE BAR _med_clear OF foxshortcutmenu PROMPT "Cle\<ar"
DEFINE BAR _med_sp200 OF foxshortcutmenu PROMPT "\-"
DEFINE BAR _med_slcta OF foxshortcutmenu PROMPT "Se\<lect All" ;
KEY CTRL+A, "Ctrl+A"
DEFINE BAR _med_sp300 OF foxshortcutmenu PROMPT "\-"
DEFINE BAR _med_find OF foxshortcutmenu PROMPT "\<Find..." ;
KEY CTRL+F, "Ctrl+F"
DEFINE BAR _med_repl OF foxshortcutmenu PROMPT "R\<eplace..." ;
KEY CTRL+L, "Ctrl+L"

ACTIVATE POPUP FoxShortcutMenu




[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to