K
Kitty
I have users who are a bit ham-handed when using their
laptops. We have a text box where they enter sometimes
voluminous comments about the customer they're reviewing.
The Problem - Holding down shift on left side of keyboard,
and missing the key they want on the right, hitting and
arrow key instead. That highlights text in the box. They
don't realize right away, and overtype what was
highlighted.
I'm trying to capture the Shift + arrow keys in the
KeyDown event of the text box. I'm using a select case
statement. For example...
Select Case KeyCode
Case vbKeyPageDown
KeyCode=0 (this prevents PageDown)
Case (vbKeyShift and vbKeyLeft) What is the syntax
here?
KeyCode=0 (here I'm trying to prevent this from
happening)
Case Else
'do nothing
End Select
Thanks for any suggestions.
Kitty
laptops. We have a text box where they enter sometimes
voluminous comments about the customer they're reviewing.
The Problem - Holding down shift on left side of keyboard,
and missing the key they want on the right, hitting and
arrow key instead. That highlights text in the box. They
don't realize right away, and overtype what was
highlighted.
I'm trying to capture the Shift + arrow keys in the
KeyDown event of the text box. I'm using a select case
statement. For example...
Select Case KeyCode
Case vbKeyPageDown
KeyCode=0 (this prevents PageDown)
Case (vbKeyShift and vbKeyLeft) What is the syntax
here?
KeyCode=0 (here I'm trying to prevent this from
happening)
Case Else
'do nothing
End Select
Thanks for any suggestions.
Kitty