>Thanks for the reply.
>
>i want to go to next available object. I have two options, Command Group and Text box. if textbox is disable. it should go to command button else to text box. My text box is disable, So cursor should go to command button, but it is not going. got focus of command button also not fired. I hope this will clear what i want.
>
>Thanks
Nishit,
In the keypress put this code;
IF nKeyCode = 27
NODEFAULT
KEYBOARD "{TAB}"
ENDIF