>>Hi,
>>
>>In certain forms of ours when a users presses their enter key the curosr behaves as if it where on a on of the tab within the form. How do we make certain that the enter key behaves the same way as the tab key?
>>
>>larry
>
>Make sure you don't set the Default property to .T. for any button. If a button has the property set, it will automatically be selected if the user hits the Enter key.
In cases when that's not feasible, fake tab for each enter in textbox.keypress, i.e.
... case nKeyCode=13
nodefault
keyb "{tab}" plain
...