>>>How to make a command button unaccessible by -key, >>>and in the same time accessible by mouse-click and -key? >>> >>>Ed >> >>**** cmd KeyPress event >>do case >>case nKeycode=13 >> nodefault >>case nKeycode=9 >> this.click() >>endcase > >Hi Edward, > >I wondered if I interpreted his question correctly :-). It seemed to me he didn't want the user to be able to press Enter to set focus to the button from another object but allow pressing TAB or using the mouse to set focus to it. > >Bill