[VB] Find Function

Junior Spellweaver
Joined
Feb 23, 2008
Messages
131
Reaction score
1
Hey guys do u know how u press CTRL + F and that find button comes up at the bottom well i was wondering how i could add that to my program it has a webbrowser in it ( NO IM NOT MAKING ANOTHER WEBBROWSER THIS IS SOMETHING ELSE) but yea please help me if you know what im tlaking about
 
Do you think some thing like this? :
Code:
    Private Sub ToolStripComboBox1_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles ToolStripComboBox1.KeyDown
        If e.KeyCode = Keys.Enter Then
            ToolStripComboBox1.Items.Add(ToolStripComboBox1.Text)
            'go button
            CType(TabControl1.SelectedTab.Controls.Item(0), WebBrowser).Navigate(ToolStripComboBox1.Text)
            Me.Text = (ToolStripComboBox1.Text)
        End If
    End Sub
 
PHP:
If e.KeyCode = Keys.Enter Then
'do this.. example:
search.show()
End If


if user will press ENTER KEY then search form will show up
 
oh cuz when i put that code it i get blue line under e.keycodE?? is there a way to get rid of it do i have to add something to it cuz thats the only blue line i get
 
Back