trichview.com

trichview.support.examples




Demo: Create hyperlink


Return to index


Author

Message

Sergey Tkachenko

Posted: 12/05/2004 14:19:55


Improved version of the demo from

Demos\Delphi\Assorted\Hypertext\CreateHyperlink


http://www.trichview.com/support/files/createhyperlink.zip


The updated demo shows:

- how to create document with hyperlinks

- how to make hyperlink from the selected text (hyperlink is blue and

underlined)

- how to remove hyperlinks from the selected text (if user entered empty

hyperlink target)

- how to close hyperlinks when user presses Space or Enter key.


Old demo used a predefined hypertext text style (with index = 4).

This demo creates it dynamically, basing on the atributes of the selected

text (just makes it blue and underlined).





Powered by ABC Amber Outlook Express Converter