I added the 1 second pause because it appeared there was something going on within the web page that wasn't done and I wanted to be certain the page was loaded before sending the "PROPERTY id_varedit set_focus 'true'" command. There might still be a reportable issue with the Browser control with respect to the NavigationComplete EEP. See if the PDF you are loading works when you increase the pause to 2 or 3 instead of 1. That would be indicative of a longer load time for the PDF file and lend credence to my suspicion about the NavigationComplete EEP.

----- Original Message ----- From: "Michael J. Sinclair" <[email protected]>
To: "RBASE-L Mailing List" <[email protected]>
Sent: Sunday, April 18, 2010 8:11 PM
Subject: [RBASE-L] - Re: Which is the correct DIR command from within an EEP?


Mike,
Initially the additon of the code to the navigation complete worked great...then when I played with it a bit more, it quit working...also the pop up message which was being displayed on the top of the form for 1 second now seems to be flash for a milisecond on top of the form and then it goes behind the form....in the center of the screen. If drag my form to the side or bottom, I can see the pop up message being displayed for the full 1 second. Are there parameters for controling the position of the message?

I'm not sure what changed!

Mike

--- On Sun, 4/18/10, Mike Byerley <[email protected]> wrote:


From: Mike Byerley <[email protected]>
Subject: [RBASE-L] - Re: Which is the correct DIR command from within an EEP?
To: "RBASE-L Mailing List" <[email protected]>
Date: Sunday, April 18, 2010, 5:19 PM


I should add an important caveat. In the Web Browsers OnNavigationCompleteCustomEEP I put the following code:

pause for 1 using 'Navigation Complete'
PROPERTY id_varedit set_focus 'true'
RETURN


It appears to be a timing issue with the Navigation Complete being reported to RBase appropriately. With the pause for 1 statement, which requires no user intervention, sufficient time is allowed for the focus to go to the var edit control.




----- Original Message ----- From: "Michael J. Sinclair" <[email protected]>
To: "RBASE-L Mailing List" <[email protected]>
Sent: Sunday, April 18, 2010 3:08 PM
Subject: [RBASE-L] - Which is the correct DIR command from within an EEP?


Hi all,
From the R>, all of these work the same...

dir c:\documents
dir c:\documents\
dir c:\documents\*.*

But, from within an EEP, I found at least one instance that capturing the output of a DIR command would not work if I used the *.*., for example...

erase dir.txt
output dir.txt
dir c:\documents\*.*
output screen

did not work. Replacing the dir c:\documents\*.* with c:\documents seemed to work.

Which is the preferred method? Should it matter?

Mike


Reply via email to