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.

Hyperlink in Essential Edit

Thread ID:

Created:

Updated:

Platform:

Replies:

18042 Aug 23,2004 10:24 AM Aug 24,2004 11:58 AM Windows Forms 5
loading
Tags: EditControl
Sam
Asked On August 23, 2004 10:24 AM

We are currently building a prove of concept for our C++ code editor and as a user of Essential Tools and Grid, I am inclined to use Essential Edit for this code editor. However, we have a requirement to show some text as hyperlink inside the code, so when the user click on it, it will launch a simple code generator wizard. Does Essential Edit have the capability to show hyperlink on text and provide custom action on the click on hyperlink? Please let me know because I have to present a simple POC by tomorrow. Thanks, Sam

Administrator [Syncfusion]
Replied On August 23, 2004 05:20 PM

Hi Sam, The current version of the EditControl does not support this feature out of the box. But it can be implemented as demonstrated by this sample. The main points in this sample are: a) It uses a SettingFile called Tags.ini. b) In the settings file a keyword called Link is specified using REGEX. c) The EditControl''s ContextTooltipPopup event is then used to display a tooltip of the website and change the cursor. d)The click event of the EditControl is used to launch the website. Kindly take a look at the sample and get back to us if you have any further questions. Regards Arun

Administrator [Syncfusion]
Replied On August 24, 2004 10:24 AM

Arun, Thanks very much for building this. I can''t find the Tags.ini in the zip, though. Could you send that file to me or tell me where I can get it? Thanks again very much. Sam

Administrator [Syncfusion]
Replied On August 24, 2004 10:44 AM

Hi Sam Sorry, you can unzip this file instead which will put the tags.ini file in the proper directories. Regards Arun

Administrator [Syncfusion]
Replied On August 24, 2004 11:07 AM

Arun, Thanks again for getting back to me so quickly. What you did is like the automatic DetectUrl in Richtextbox. What we need is something like the UI that you use to create Rules in Outlook 2003. Please kindly take a look at that interface and let me know if there is a plan for Essential Edit to support that feature in the near future. Thanks, Sam

Administrator [Syncfusion]
Replied On August 24, 2004 11:58 AM

Hi Sam The sample was a demonstration of what can be done using Essential Edit. For example you can add another form (say Form2) in the sample application and then replace the code for the click with: private void editControl1_Click(object sender, EventArgs e) { if (launch) { Form newform = new Form2(); newform.Show(); launch = false; } } Now when you click on a link it will launch an instance of Form2. So you can create an interface similar to what you are looking for using the Essential Edit. You can also check out the Wizards Package in Essential Tools along with the samples which demonstrate how you can use the package to create Wizards. Regards Arun

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.

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.

;