ActiveReports3 Request technical support
HyperLink Property
See Also  Example


Gets or sets a hyperlink for the text control.

Syntax

Visual Basic (Declaration) 
Public Property HyperLink As String
Visual Basic (Usage)Copy Code
Dim instance As TextBox
Dim value As String
 
instance.HyperLink = value
 
value = instance.HyperLink
C# 
public string HyperLink {get; set;}

Return Value

A string value that specifies the target of the hyperlink.

Example

C#Copy Code
private void detail_Format(object sender, System.EventArgs eArgs)
{
   
this.textBox1.HyperLink = "mailto:support@company.com";
   
this.textBox1.Text = "Email support.";
}
Visual BasicCopy Code
Private Sub Detail1_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail1.Format
   Me.TextBox1.HyperLink = "mailto:support@company.com"
   Me.TextBox1.Text = "Email support."
End Sub

Remarks

Hyperlinks can be used in the viewer control to allow users to link to a bookmark in the report "toc://bookmark" or to a properly formatted internet target location (http, ftp, etc).

Clicking a hyperlink in the viewer control raises the HyperLink event. 

See Also