>I know this can be done by Tools|Options. How can it be done programmatically? So that if there is no default button on the form, the enter key does not tab between controls.
>
>TIA,
In the from's KeyPress if is a < CR > do a NODEFAULT. Make sure the form's KeyPreview is .T.