0 Replies Latest reply on Aug 6, 2010 8:10 AM by Eaugustus

    How to make AcroPDF give back focus in a form in MS Access ?

    Eaugustus

      Hello,

       

      I embedded AcroDPF into a form in MS Access to display pdf files as I scroll with the mouse wheel, but after each pdf loaded the focus jumps to the acrobat view and I have to click outside of it to resume scrolling.

       

      After trying and searching a lot, the only work around I found is to use SendKeys to send two successive alt-TAB to make Windows go to another application and then come back to Access;

       

      DoEvents

      SendKeys “%{TAB},True

      SendKeys “%{TAB},True

       

      But its ugly and it doesn’t work every time.

       

      Anyone have a good solution?