Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 729
  • Last Modified:

Giving Focus To A WebBrowser Component

Hello

I need to give focus to a webbrowser component after a combobox value is changed.

I do like this WebBrowser.Focus() and it works but if i want to use the scroll i have to press inside the WebBrowser, so my q is how can i prevent this mouse click?

Thanks
0
administradores
Asked:
administradores
1 Solution
 
raja_ind82Commented:
try
 WebBrowser1.Document.Focus()

For particular control
   WebBrowser1.Document.GetElementById("daysOfWeek").Focus()

Regards,
M.Raja
0
 
administradoresAuthor Commented:
Thanks for the tips
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now