I am using this code:
and "englow" has the following code:VB Code:
Public Sub form_keypress(KeyAscii As Integer) If KeyAscii = Chr(97) Then Call englow_Click(11) End Select End Sub
As you can see, there are more than one "englow" buttons. 49 of them in fact. When I press a button on my keyboard (say a, with the ascii value 97), I want it to call just a certain englow button. Is what i'm trying to do impossible, and i should change the names of the buttons, or is there a way around this?VB Code:
Private Sub englow_Click(Index As Integer) Text1.Text = Text1.Text + englow(Index).Caption End Sub
Thanks in advance




Reply With Quote