>I want the user to be able to press enter in
>navigating the fields on the form. When the
>field is a checkbox it toglles the data on and off.
>
>any suggestions on how to just go to the next field
>here?
>
>Gary
Gary,
In the CheckBox Valid event;
IF LASTKEY()=13
THIS.Value = NOT THIS.Value
ENDIF
In the checkbox When;
KEYBOARD "{CTRL+A}" && forces lastkey to be unequal to 13