Post by The Hated Man on Jul 1, 2015 4:29:04 GMT 10
Hi guys, I have a problem in webbrowser project. When I enter into Google and press the enter key, it's not searching. Turning google. How can I solve it?
Nick change Alsahhim to The Hated Man.
C# , VB.Net , Adobe
Turkish Coder
|
|
Post by Nathan Lecompte on Jul 1, 2015 12:32:31 GMT 10
So i see that it's going back when you press enter. That's because the back button is focused, try clicking on another button before hand (eg: refresh button) and then doing the Google search again, if it triggers the refresh function; then that means that your still focused on that button. What you can do to fix this is you can try make a sort of invisible decoy button and then in the KeyDown events of all the buttons; set the focus on the decoy button. Here's an example: Public Sub Refresh_Button() WebControl1.Refresh()
MyDecoyButton.Focus() End Sub Hope this helps!
|
|
Post by The Hated Man on Jul 1, 2015 19:13:47 GMT 10
It can not be Can you help on TeamViewer ?
Nick change Alsahhim to The Hated Man.
C# , VB.Net , Adobe
Turkish Coder
|
|
Post by Nathan Lecompte on Jul 1, 2015 19:49:26 GMT 10
I'm not sure what you mean, do you mean that this did not solve your problem or do you not quite understand what the solution is saying?
|
|
Post by The Hated Man on Jul 1, 2015 20:13:30 GMT 10
Yes not solve , I'm Turkish. Please check message
Nick change Alsahhim to The Hated Man.
C# , VB.Net , Adobe
Turkish Coder
|
|
Post by Nathan Lecompte on Jul 2, 2015 0:31:49 GMT 10
Ah ok, no worries
|
|
Post by efwwww on Jul 2, 2015 1:07:13 GMT 10
Have you tried focusing on the browser control?
|
|
Post by Nathan Lecompte on Jul 2, 2015 13:30:04 GMT 10
Hahaha, yeah...oops.
|
|