Web browser ActiveX and focus

M

Maarkr

I put a web browser activex control on my form that's working fine. I also
have a transparent command box on the form coded the same on some of my other
forms that uses the 'On Key Press' event that calls a function when the user
hits enter. Problem is on this form I can't get the box to take the focus so
the user can hit enter and fire the event. Like I said, other forms work
fine...I tried to use a timer function to delay setting the focus to the box
for 6 secs... plenty of time for the web page to load... but the browser
control seems to keep the focus. Can't even tab away from it. Any ideas to
get the focus off the browser control?
 

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