>i want to stop check box selection by presing enter button.
>
>when i press enter key on my checkbox it is selected/deselected but i want to select/deselect my check box by presing spacebar only.
>
>warm regards,
>mk.
You could play with the KeyPress event. If the key is ENTER, either do nothing, or go to the next field by giving the command
keyboard "{TAB}".
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)