JavaScript Editor js editor     Web development 

Main Page

Shortcut menus appear when you click the right mouse button on a control or object, and provide a quick way to expose all of the functions that apply to just that object. You can use Visual FoxPro to create shortcut menus, then attach these menus to controls. For example, you can create a shortcut menu containing the commands Cut, Copy, and Paste that will appear when a user right-clicks on data contained in a Grid Control.

To create a shortcut menu

  1. From the Project Manager Window, select the Other tab, select Menus, and then choose New.

  2. Choose Shortcut.

    The Shortcut Designer appears.

When you are in the Shortcut Menu designer, the process for adding menu items is the same as it is for creating menus.

For an example of shortcut menus, run in the Visual FoxPro ...\Samples\Solution\Solution directory.

See Also

JavaScript Editor js editor     Web development