LPARAMETERS nKeyCode, nShiftAltCtrl if nkeycode=29 and nshiftaltctrl=2 &&CTRL+HOME this.parent.parent.column1.text1.setfocus() nodefault endifBut personally I hate duplication of code, so I'd build a grid class, where every textbox has KeyPress code that simply calls a common grid method (called CommonKeyPress or some such) and have that do the setfocus and other behaviors if desired. That way you only have to change the code in one place if you want to tweak it.