|
-
Aug 6th, 2000, 12:03 PM
#1
Thread Starter
Lively Member
Ok, this one is the last question for today! ;-)
I would like the enter key to call a sub ("uguale"). I put
the following code in the Form_KeyPress Sub:
If KeyAscii = 13 Then
uguale_Click
KeyAscii = 0
End If
The problem is that if i click a button of the form and then
i press Enter, it does no more call "uguale", but simulates
a click on the button (that got the focus); i have this
problem only with keyascii 13. Is there a way to make Enter
call always "uguale" also if the focus is on a button or something else, without using a keypress event for each button? There are about 60 buttons... would be a little tedious! ;-)
Thankyou
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|