Mike, To add to what Razzak said, onDocumentComplete is likely the one you want to use, but it seems like pages that have activity after the document is loaded, like an timer event that loads graphics, continues to suck the focus back to the browser container, which still stymies your issue.
Some pages work perfectly, others not so much. If you don't want a pause to click on, try to use a form timer that you start at the beginning of your browser eep and keep the timer event short, killing the timer at the end of the timer event, then set focus to the other control. I haven't tried that myself, but it won't take long for you to hammer and glue it together, ----- Original Message ----- From: "Michael J. Sinclair" <[email protected]> To: "RBASE-L Mailing List" <[email protected]> Sent: Wednesday, September 19, 2012 10:39 PM Subject: [RBASE-L] - How to use the new Web Browser EEP : Hi All, : The Web Browser control now has 3 available EEPs (thank you dream team!). The 3rd one, on double click seems easy to understand. But I can't figure out the difference between the other 2, On Document Complete vs On Navigation Complete. : : In my app, I am trying to set the focus on to a variable edit field after displaying a PDF file using this command... : : PROPERTY id_browser GOURL .vdisplayname (where vdisplayname is the complete path of the file I want to display) : : : If I use a PAUSE for 1 command right after the above, my set focus commands work fine, but there is an annoying 1 second delay. : : I tried putting this code into both EEPS... : : PROPERTY id_vfolder set_focus 'TRUE' : PROPERTY id_vfolder lastchar 'true' : RETURN : : But without the Pause for 1, I can't get the focus to move to the Variable Edit field. : : Which EEP should I use? What is the difference between Document Complete EEP vs the Navigation Complete EEP? : : TIA, : Mike

