J
Jesper F
I can prevent the tabkey from moving the focus to the next
control by placing this in the keydown-event of the
control:
If keycode = vbKeyTab Then
keycode = 0
End If
However - I can't seem to get it to work if I try to place
the code in a public function. I'd like to be able to just
write "=notab()" as the function name in the keydown-event
in the property sheet of the control and include the above
in the notab-function placed in a module.
Is this possible?
control by placing this in the keydown-event of the
control:
If keycode = vbKeyTab Then
keycode = 0
End If
However - I can't seem to get it to work if I try to place
the code in a public function. I'd like to be able to just
write "=notab()" as the function name in the keydown-event
in the property sheet of the control and include the above
in the notab-function placed in a module.
Is this possible?