Form.keypreview=.t.
form keypress event code
LPARAMETERS nKeyCode, nShiftAltCtrl
If Type('This.activecontrol') ='O' and ;
This.activecontrol.baseclass='Checkbox' and nKeyCode =13
NoDefault
Keyboard '{TAB}'
endif
This should work.
MVP-2006-2011, PHD in Math and Physics ,
host of
www.foxclub.ru,
VFP lector at Interface and Microinform companies
Head science researcher of VNIIA Rosatom.