URL Detection
You can enable automatic detection of a Uniform Resource Locator (URL), by setting the JadeRichText class autoURLDetect property to true in the Properties dialog of the JADE Painter at design time or dynamically at run time. (By default, automatic detection is disabled.)
For an example of a method that dynamically sets the automatic detection of a URL at run time, see "JadeRichText Control Method Example", later in this section.
When enabled:
-
The control scans any modified text to determine whether the text matches the format of a URL.
-
The control highlights the URL string by underlining it and setting the text color.
-
Clicking on a URL generates a linkClicked event and double-clicking on a URL activates the link.