Because the Browser runs in its own process the "PROPERTY id_varedit
set_focus 'true'" you have in your button eep actually works, but when the
Web page finally loads, there is FOCUS on the web page after the
NavigationComplete event of the browser, so we have to have the "PROPERTY
id_varedit set_focus 'true'" occur AFTER the NavigationComplete event of the
browser.
----- Original Message -----
From: "Michael J. Sinclair" <[email protected]>
To: "RBASE-L Mailing List" <[email protected]>
Sent: Sunday, April 18, 2010 7:25 PM
Subject: [RBASE-L] - How to use Navigation Complete EEP
Ah ha! That did make it work!! Can you tell me what the purpose of that EEP
is?
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.