Results 1 to 2 of 2

Thread: enter click

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2011
    Posts
    1

    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

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    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.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width