Problem with webBrowser control

A

Alexander

I'm having a problem with the webBrowser control in CE 6.0. My app
loads a page on it (via webbrowser.Navigate) and it loads fine.

Once I load a 2nd page on it, it loses focus. I press the arrow keys
up and down but the page wont scroll.

The whole app then behaves strangely. It sends double key presses
events. I send a webBrowser.Focus command and check if its focused
and it says its focused.

CLICKING on it however, fixes the issue and the arrow keys work
again. This is a problem because this is supposed to work without
having to use a mouse.

Please help and thanks in advance for reading this.
 
A

Alexander

I'm having a problem with the webBrowser control in CE 6.0. My app
loads a page on it (via webbrowser.Navigate) and it loads fine.

Once I load a 2nd page on it, it loses focus. I press the arrow keys
up and down but the page wont scroll.

The whole app then behaves strangely. It sends double key presses
events. I send a webBrowser.Focus command and check if its focused
and it says its focused.

CLICKING on it however, fixes the issue and the arrow keys work
again. This is a problem because this is supposed to work without
having to use a mouse.

Please help and thanks in advance for reading this.


Just wrote another test app with just a web browser and a text box.
Loading the FIRST page (using the textbox's text as the url) and then
setting the focus via code works fine, I can use the arrow keys to
move around the page

Loading a second page (or any other after that) and setting the focus
to the web browser via code no longer allows me to use the arrow keys
to move around, even if the web browser was specifically given focus
via code. Giving the web browser focus via the MOUSE however, allows
me to once again move around with the arrow buttons.... this is very
frustating.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top