Mike,
Set up a hidden variable field (same color as background, and/or
behind the button) that is next in order after your OK button. To
that field attach an entry eep that checks (lastkey()) value. If
(lastkey()) value = '[enter]' then do the functions you would have
done by clicking the button. If not '[enter]' you could skip to the
next field. You could accomplish it all from the same eep using
(cval(#form_column_name)) for flow control.
Ben Petersen
On 24 Apr 2001, at 13:34, Michael Sinclair wrote:
> Is there any way to make the [Enter] key activate a push box in a form,
> either in addition to, or instead of the [SpaceBar]? Some folks like to
> [Tab] to get to the desired push button, but once they get there the
> [Enter] key is like rehitting the [Tab] key. Seems that a lot of people
> find the [Enter] key to be intuitive.
>
> TIA!
>
> Mike Sinclair
>