LPARAMETERS nKeyCode, nShiftAltCtrl * We only accept digits and - sign IF NOT ((nKeyCode>=48 AND nKeyCode<=57) OR nKeyCode=45) NODEFAULT RETURN ENDIFHowever, this is only a start. Because, I assume you would like to allow the user to type the required keys to go back, delete, use the arrows, etc.