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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

intellisense question

Thread ID:





14552 May 28,2004 03:14 PM UTC May 28,2004 06:47 PM UTC WinForms 1
Tags: EditControl
Administrator [Syncfusion]
Asked On May 28, 2004 03:14 PM UTC

Hi, Would you be able to tell me the best way to disable intellisense ( context popup ) feature if currently in a comment block ("/**/") , or line ("//"). Is there an automated way to do this, or should I write some code to determine this . Thanks Ryan

Administrator [Syncfusion]
Replied On May 28, 2004 06:47 PM UTC

Hi Ryan, Yes, this check should be in place. Here is a sample which demonstrates how you can work around this issue. In the EditControl''s ContextPromptPopup event you can add a check: if ((e.ItemName == "function1") && (!this.editControl1.GetString(this.editControl1.CurrentLine,1,this.editControl1.CurrentLine,3).StartsWith("/"))) to ensure that the context prompt is not displayed if the line begins with a "/". Regards Arun


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

This page will automatically be redirected to the 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

Live Chat Icon For mobile
Live Chat Icon