Article ID: 157160
Article Last Modified on 7/1/2004
* This menu defines the edit menu functions like Cut/Copy/Paste
DO SdiEditMenu.mpr WITH THIS, .T.
* First you run the menu, then you DEACTIVATE it.
* The menu definition remains in memory so the shortcut keys are
* available
DEACTIVATE MENU (THIS.Name)
*Activate the Paste menu bar when CTRL+V is press.
ON KEY LABEL CTRL+V SYS(1500, '_MED_PASTE', '_MEDIT')
*Activate the Copy menu bar when CTRL+C is press.
ON KEY LABEL CTRL+C SYS(1500,'_MED_COPY','_MEDIT')
*Activate the Cut menu bar when CTRL+X is press.
ON KEY LABEL CTRL+X SYS(1500,'_MED_CUT','_MEDIT')
155847 How To Activate a System Menu Item in Visual FoxPro 5.0
Keywords: kbhowto KB157160