What are you trying to do with this code?
vb Code:
Dim intIndex As Integer If KeyAscii = vbKeyReturn Then intIndex = 23 cmdCalc(intIndex).SetFocus cmdCalc_Click intIndex End If
press the "Enter" button when the "txt_Paper" has focus?
|
Results 1 to 4 of 4
Thread: Need help trapping Enter keyThreaded View
|
Click Here to Expand Forum to Full Width |