Hi,
I have an interesting problem.
In textbox keypress event I have this code:
----------------------------------------
LPARAMETERS nKeyCode, nShiftAltCtrl
if nKeyCode==13
thisform.command1.setfocus
endif
-----------------------------------------
But after I press ENTER in textbox so then is thisform.command1.click executed. And there is a prolem. I need only command1 to have the focus not to be clicked.
Any Idea why?????
I have an interesting problem.
In textbox keypress event I have this code:
----------------------------------------
LPARAMETERS nKeyCode, nShiftAltCtrl
if nKeyCode==13
thisform.command1.setfocus
endif
-----------------------------------------
But after I press ENTER in textbox so then is thisform.command1.click executed. And there is a prolem. I need only command1 to have the focus not to be clicked.
Any Idea why?????