We are using EditControl to write a small code-editor.
We want to popup the auto-complete window after pressing the shortcut CTRL + SPACE without typing the space-char into the EditorWindow.
Is there any way to disable typing characters into the EditControl?
Private Sub editControl1_KeyDown(sender As Object, e As KeyEventArgs)
If e.Control Then
' Do something here
If e.KeyCode = Keys.Space Then
EditControl1.ShowContextChoice()
Dim context = EditControl1.ContextChoiceController
For Each item As IConfigLexem In lexeme
context.Items.Add((item).BeginBlock, CStr(m_MethodComments(item.ID)), Me.EditControl1.ContextChoiceController.Images("Image" & item.FormatName))
Next
End If
End If
End Sub