Z
Z.K.
I have a problem trapping the return key. I thought if I added the
forms keydown event handler that this would do what I want. It did not
even go into the keydown event handler when I pressed return. I have a
form and three buttons. I assigned one button to the cancel button and
another to the accept button property. But the right button rarely gets
activated unless it just happens to have focus. So, I thought maybe I
need to trap the Return key with the keydown handler of the form, but
this did not do a thing. I even added keydown handlers for the buttons
themselves, but that did not do anything either. So, just how do I trap
the return key for when the return key is pressed no matter what control
might have focus?
Z.K.
forms keydown event handler that this would do what I want. It did not
even go into the keydown event handler when I pressed return. I have a
form and three buttons. I assigned one button to the cancel button and
another to the accept button property. But the right button rarely gets
activated unless it just happens to have focus. So, I thought maybe I
need to trap the Return key with the keydown handler of the form, but
this did not do a thing. I even added keydown handlers for the buttons
themselves, but that did not do anything either. So, just how do I trap
the return key for when the return key is pressed no matter what control
might have focus?
Z.K.