Rob,
Try this in the Keypress event of the checkbox...
IF nKeyCode = 13
KEYBOARD TAB
NODEFAULT
ENDIF
This prevents the Carriage return from going to the keyboard buffer and puts a TAB in there instead.
David.
>VFP6.0 I have placed a checkbox within a grid. I want the checkbox only to be selected/deselected on a mouse click or space bar, not a carriage return. Right now whenever you press enter to pass the column, it changes the status of the checkbox, is there any way to prevent it.
>
>Any ideas...
>
>TIA
>
>Rob
David.