UtterAccess.com
X   Site Message
(Message will auto close in 2 seconds)

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Webbrowser Control Appears Locked, Office 2007    
 
   
robertomotto
post Mar 30 2012, 07:31 AM
Post #1

New Member
Posts: 17



Hello,
I am working on Access 2007 application having a simple form displaying a live Google Map (not static) using the ActiveX Web Browser control. Everything it's working well, I have placed code to OnCurrent event to refresh the Webbrowser when navigating between records and map is then displayed correctly building the address string and using .navigate method.

The Webbrowser control is placed in the first Tab of a Tab control having 3 tabs.

The problem is that when the map is loaded everything works just fine, I can use Pan control, Zoom buttons and I can switch from Roadmap to Satellite view BUT if I click on the second tab or if I open another form above my form then when I come back to the first tab the map is still there but it appears as "locked" as the mouse curson on hover is displayed correctly (as hyperlink) but I cannot use anymore the google maps tools such as zooming, moving the map, etc...

If I want to "unlock" the map again I have to pass again the URL using .navigate method.

I am working on a Win7 64bit laptop with Office 2007 32bit SP2 installed. However I did run some test on a WinXP 32bit box with the same poor results.

Do you have experienced the problem and do you have any fix/suggestions?

Thanks in advance

Roberto
Go to the top of the page
 
+
tina t
post Mar 30 2012, 07:14 PM
Post #2

UtterAccess Ruler
Posts: 1,822
From: SoCal, USA



well, this is just a WAG, but you could try calling the .navigate method in the ActiveX control's GotFocus event. if you open another form, though, the ActiveX control probably will not "lose" focus; you might also try calling the method in the form's Activate event.

hth
tina
Go to the top of the page
 
+

Thank you for your support! Reply to this topicStart new topic

Jump To Forum:
 



RSS Go to Top  ·  Lo-Fi Version Time is now: 24th May 2013 - 07:55 AM