Morgoth
10-31-2002, 06:41 PM
Now, all I need to know is the correct KeyCode for the shift key so I can put it in the if statements.
Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer)
If Shift = vbKeyShift Then
BlnHoldShift = True
End If
End Sub
Private Sub Form_KeyUp(KeyCode As Integer, Shift As Integer)
If Shift = vbKeyShift Then
BlnHoldShift = False
End If
End Sub
Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer)
If Shift = vbKeyShift Then
BlnHoldShift = True
End If
End Sub
Private Sub Form_KeyUp(KeyCode As Integer, Shift As Integer)
If Shift = vbKeyShift Then
BlnHoldShift = False
End If
End Sub