>Hi all,
>
>Does anyone knows how to prevent checkboxes from being checked when RETURN key is press? If possible , checking can only be done on mouse click or spacebar... Thanks.
put this code in the KeyPress event of the check box
if lastkey()=13
this.value=iif(this.value=1,0,1)
endif
Mark McCasland
Midlothian, TX USA