PowerTools ActiveReports for .NET 9.0J
HyperLink プロパティ (TextBox)
使用例 

テキストコントロールへのハイパーリンクを取得または設定します。
構文
'宣言
 
Public Property HyperLink As String
public string HyperLink {get; set;}

プロパティ値

ハイパーリンクの対象を表す文字列値。

解説

ビューワコントロールでハイパーリンクを使用すると、ユーザーはレポートのブックマーク "toc://bookmark"、または規定の書式のインターネットアドレス(http、ftpなど)へのリンクを使用できるようになります。ビューワでハイパーリンクコントロールをクリックすると、HyperLinkイベントが発生します。

注意:HTMLまたはFlashビューワで使用する場合は、フルアドレスで指定してください。(例:http://www.grapecity.com/

使用例
private void detail_Format(object sender, System.EventArgs eArgs)
{
    this.textBox1.HyperLink = "mailto:support@company.com";
    this.textBox1.Text = "Email support.";
}
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
参照

関連項目

TextBox クラス
TextBox メンバ

 

 


©2003-2015 GrapeCity inc. All rights reserved.