We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

No Space-Char after pressing shortcuts “CTRL” + “SPACE”

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



1 Reply

KJ Keerthana Jegannathan Syncfusion Team July 1, 2016 08:37 AM UTC

Hi Christian, 
 
Thank you for contacting Syncfusion support. 
 
We confirmed this requirement “ContextChoice suggestion based on Ctrl+Space” as improvisation and a support incident has been created under your account to track the status of this requirement. Please log on to our support website to check for further updates. 
 
 
Regards, 
 
Keerthana 


Loader.
Live Chat Icon For mobile
Up arrow icon