-
enter click
how should i make my tabcontrolled webbrowser go when hitting enter?
Code:
Private Sub TextBox1_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles TextBox1.KeyDown
Dim WB As CustomBrowser = Me.TabControl1.SelectedTab.Tag
If e.KeyCode = Keys.Enter Then
WB.Navigate(Me.cburl.text)
cbURL.items.Add(cbURL.text)
End If
End Sub
-
Re: enter click
Follow the CodeBank link in my signature and check out my Tabbed Web Browser thread. That is one of the features that it implements.