Essential Edit Windows Forms
Context List
February 6, 2012 08:43 AM by Selva Ganapathy K[Syncfusion]
Danie de Beer
Context List
January 30, 2012 01:17 PM
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]
Context List
January 31, 2012 01:32 AM
Hi Danie,

Thank you for using Syncfusion products.

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

<lexem BeginBlock="." Type="Operator" DropContextChoiceList="true"/>

<lexem BeginBlock="::" Type="Operator" DropContextChoiceList="true"/>

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
Context List
January 31, 2012 04:09 AM
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]
Context List
February 6, 2012 08:43 AM
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


::adCenter::