SetFocus problem

G

Guest

Hi,

I am opening a form with a webbrowser control (activeX) on it. I
automatically navigate to the appropriate page based on the value of a field.
Here's my problem: after the webpage loads I would like to put the focus
back on the first field on my screen. I have tried to put Me.field.setfocus
every where possible to no avail.

Does any one have any ideas how I might do this?

Thanks in advance.
 
R

Rick Brandt

Bonnie said:
Hi,

I am opening a form with a webbrowser control (activeX) on it. I
automatically navigate to the appropriate page based on the value of
a field. Here's my problem: after the webpage loads I would like to
put the focus back on the first field on my screen. I have tried to
put Me.field.setfocus every where possible to no avail.

Does any one have any ideas how I might do this?

Thanks in advance.

Is the control you are setting focus to on the same form as 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

Similar Threads


Top