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

Context List

Thread ID:

Created:

Updated:

Platform:

Replies:

102421 Jan 30,2012 06:17 PM UTC Feb 6,2012 01:43 PM UTC Windows Forms 3
loading
Tags: EditControl
Danie de Beer
Asked On January 30, 2012 06:17 PM UTC

Hi
I'm currently evaluating the Edit Control and have a few issues that I can't get working.

I need to invoke the context menu in accordance with the typed keyword. I get it to invoke on "." and on ":" but I need to invoke it on "::" and "."

The second problem is that I need to populate the context menu based on the keyword that was used

eg. Car.Engine.Start(int Key)
Car.Body.Suspension.Shock(string Make)
Car::Starter(bool ON)

I have been struggleling with this for a while now and can't get it to work. Any help would be appreciated.

Thanks
Danie


Arun A [Syncfusion]
Replied On January 31, 2012 06:32 AM UTC

Hi Danie,

Thank you for using Syncfusion products.

The following code snippet would help you in achieving your requirement,





For more details about the contextchoice in EditControl,please refer the following links.

http://help.syncfusion.com/ug_92/User%20Interface/Windows%20Forms/Edit/default.htm?turl=Documents%2F466222contextchoice.htm

Please let us know if you have any concerns.

Regards,
Arun



Danie de Beer
Replied On January 31, 2012 09:09 AM UTC

I'm using the Intellisense from XML sample as basis for my script language and api. I have added the DropContextChoiceList="true" to the the operator "::" but it does not fire the editControl1_ContextChoiceBeforeOpen event but if I add it for ":" then it works as expected. Any ideas?


Selva Ganapathy K [Syncfusion]
Replied On February 6, 2012 01:43 PM UTC

Hi Danie,

Thanks for the patience,

I have created a sample to meet your requirement. Kindly have the sample from the following link

[Sample Link]
http://www.syncfusion.com/downloads/Support/DirectTrac/90367/AppEDIT-465942005.zip

Please let us know if you have any concerns

Regards,

Selva Ganapathy K



CONFIRMATION

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.

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

;