Home > database >  Press enter in the single line edit box, and make the other controls in the window to get focus (suc
Press enter in the single line edit box, and make the other controls in the window to get focus (suc

Time:10-02

Such as press enter, the pop-up message box, etc., in the single line edit box sle_1 which events to write ah, consult
If keydown (keyenter! Then
Messagebox (' 1 ', '23')
End the if

CodePudding user response:

Create a keydown event has occurred, choose pbm_keydown id

CodePudding user response:

1. Can be simple in the MODIFY event code


2. Do a standard controls uo (single line edit box), create a keydown event has occurred in the uo id choose pbm_keydown
Then put uo on the window, you can write code in the keydown event has occurred, it can identify the

CodePudding user response:

reference 1st floor jlwei888 response:
create a keydown event has occurred, id choose pbm_keydown

1/f, positive solutions

CodePudding user response:

reference 1st floor jlwei888 response:
create a keydown event has occurred, id choose pbm_keydown
this event in the event of an window

CodePudding user response:

reference 1st floor jlwei888 response:
create a keydown event has occurred, id choose pbm_keydown


This is the window of the corresponding event, has nothing to do with the original poster said the single line edit box,
Settings window TAB value, to determine the button under the TAB value is set to edit box of a value,
  • Related