You don't need any OKL code if you have a menu active that you can hang this option from. Assuming you have a menu, just add an option that says something like "Switch between forms". In the menu builder, select "bar #" for the "Result", and enter _MWI_ROTAT in the field after that. Click on the Options button and put whatever shortcut you want for the option (I'd recommend using Ctrl+F1, since that's the standard.)
If you'd like to run this menu option programmatically, without the user having to type the shortcut, use the SYS(1500) command.
>Thanks Barbara,
>Can you help to write the on key label code.
>I dont know how to use system names.
>
>>The standard in VFP is Ctrl+F1, which corresponds to the Cycle option on the Window menu pad. The system name to call this function is _MWI_ROTAT.
>>
>>>Is there any keyboard defination included in vfp to tabbing betweens open forms.For exmaple Alt+Tab,Ctrl+Tab.