See Also

TextBox Class  | TextBox Members

Language

Visual Basic

C#

Show All

See Also Languages ActiveReports Send feedback to Data Dynamics

HyperLink Property

Gets or sets a hyperlink for the text control.

[Visual Basic]
Public Property HyperLink As String
[C#]
public string HyperLink {get; set;}

Return Type

A string value that specifies the target of the hyperlink.

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 fires the HyperLink event. 

Example

[C#] 

private void Detail_Format(object sender, System.EventArgs eArgs) 

    this.TextBox1.HyperLink = "mailto:support@company.com"; 
    this.TextBox1.Text = "Email support."; 
}

[Visual Basic] 

Private Sub Detail_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail.Format
   Me.TextBox1.HyperLink = "mailto:support@company.com"
   Me.TextBox1.Text = "Email support."
End Sub

See Also

TextBox Class  | TextBox Members

 

 


Copyright © 2004-2005 Data Dynamics, Ltd. All rights reserved.