Manually creates a macro instead of recording your keystrokes.
- Defined Key
- Displays the key combination you press that will launch the macro.
- Macro Name
- Displays the default macro name, which is based on the defined key. For example, if the defined key is CTRL+D, the macro name will be CTRL_D. If you want to rename the macro, type the new name (up to 20 characters) in the box.
- Macro Contents
Provides space for you to type the keystrokes the macro executes. Use the key label assignments listed in the ON KEY LABEL Command topic and enclose them in braces to represent the desired keystrokes. Place all key combinations (such as CTRL+F2) in braces also. For example:
В Copy Code
Note: The key combinations SHIFT+CTRL+\, CTRL+вЂ“, CTRL+^, and SHIFT+CTRL+ENTER are not supported in Visual FoxPro.