Hypertext Links

Visual Basic User's Guide

This chapter shows how to use Text Control's marked text fields to insert hypertext links and targets into text documents and how to respond to events which Text Control fires when the user clicks on a hypertext link.

The source code for the following examples is contained in the sub folders Step1 to Step4 of the Samples\vb6\Hyperlnk sample source directory.

Step 1 - Inserting a Hypertext Link

Step 2 - Adding a Dialog Box for Inserting Hypertext Links

Step 3 - Adding Targets

Step 4 - Adding Jumps to External Targets