WebBrowser.StatusTextChanged イベント
アセンブリ: System.Windows.Forms (system.windows.forms.dll 内)
構文Public Event StatusTextChanged As EventHandler
Dim instance As WebBrowser Dim handler As EventHandler AddHandler instance.StatusTextChanged, handler
public event EventHandler StatusTextChanged
public: event EventHandler^ StatusTextChanged { void add (EventHandler^ value); void remove (EventHandler^ value); }
/** @event */ public void add_StatusTextChanged (EventHandler value) /** @event */ public void remove_StatusTextChanged (EventHandler value)
解説
使用例StatusTextChanged イベントのハンドラを使用して、Internet Explorer のステータス バーのような機能を WebBrowser コントロールに実装する方法を次のコード例に示します。この例は、フォームに webBrowser1 という名前の WebBrowser コントロールと、StatusBar1 という名前の StatusBar コントロールが存在することを前提にしています。
コード全体については、「方法 : Windows フォーム アプリケーションに Web ブラウザの機能を追加する」を参照してください。
' Updates the status bar with the current browser status text. Private Sub webBrowser1_StatusTextChanged( _ ByVal sender As Object, ByVal e As EventArgs) _ Handles webBrowser1.StatusTextChanged toolStripStatusLabel1.Text = webBrowser1.StatusText End Sub
.NET Framework のセキュリティ
プラットフォームWindows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
バージョン情報
参照WebBrowser クラス
WebBrowser メンバ
System.Windows.Forms 名前空間
EventArgs
EventHandler
WebBrowser.StatusText プロパティ
その他の技術情報
イベントの利用
Weblioに収録されているすべての辞書からWebBrowser.StatusTextChanged イベントを検索する場合は、下記のリンクをクリックしてください。
全ての辞書からWebBrowser.StatusTextChanged イベント
を検索
- WebBrowser.StatusTextChanged イベントのページへのリンク