I have some simple code on a form to view a PDF file.
The following code is on page 6 of a pageframe. It is in the dblClick method of a text field on a grid.
loIE = Createobject("internetexplorer.application")
loIE.Visible = .T.
It works beautifully until you move to a different page in the pageframe and then come back. Then, nothing happens when you double-click on the text field in the grid. If you exit FoxPro and go back in, it works as before. Any idea what I'm doing wrong?