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?
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?