Posted 13 years ago
by Radjesh Klauke
-
Mr.,
X-impress
I'm trying to add my own shortcutkeys, but somehow it doesn't work (proper)
1) The CTRL+ALT+5 works, but it also shows the €-sign "money€", which I don't want. I only want to see "money".
2) the second shortcut doesn't do anything.
Do you see what I'm doing wrong here?
Thanks in advance.
Private Sub SyntaxEditor1_KeyTyped(sender As Object, e As ...) Handles SyntaxEditor1.KeyTyped
Select Case e.KeyData
Case Keys.Control And Keys.Alt And Keys.D5
MsgBox("money")
SyntaxEditor1.SelectedView.SelectedText = "money"
Case Keys.Control And Keys.Alt And Keys.Space
MsgBox("ok")
SyntaxEditor1.SelectedView.SelectedText = "CTRL+ALT+SPACE pressed"
End Select
2) the second shortcut doesn't do anything.
Do you see what I'm doing wrong here?
Thanks in advance.