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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

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

Thread ID:





124799 Jun 30,2016 02:00 PM UTC Jul 1,2016 08:37 AM UTC WinForms 1
Tags: EditControl
Christian Gerhards
Asked On June 30, 2016 02:00 PM UTC

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
            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))
        End If
    End If
End Sub

Keerthana Jegannathan [Syncfusion]
Replied On 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. 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon