Hello friends,
The following code to establish a hyperlink is acting strangely.
IF MESSAGEB("Get New Prices... ?", 36) = 6 && If YES...
loHyperlink = CREATEOBJECT("Hyperlink")
loHyperlink.navigateto("ENDIF
RETURN
The above establishes the link then very briefly opens the web window, them immediately minimizes it and returns to the next line of code (in this case RETURN); but it retains the open link minimized.
However if I add a delay...
IF MESSAGEB("Get New Prices... ?", 36) = 6 && If YES...
loHyperlink = CREATEOBJECT("Hyperlink")
loHyperlink.navigateto(" WAIT WINDOW "Connecting..." TIMEOUT 15
ENDIF
... then the web page is opened and loaded normally, and is usable until exited by the user; then returns to the next code line after the IF clause.
I have used this NavigateTo function often in the past without this happening. Any ideas?
Thanks
Wilfranz
The following code to establish a hyperlink is acting strangely.
IF MESSAGEB("Get New Prices... ?", 36) = 6 && If YES...
loHyperlink = CREATEOBJECT("Hyperlink")
loHyperlink.navigateto("ENDIF
RETURN
The above establishes the link then very briefly opens the web window, them immediately minimizes it and returns to the next line of code (in this case RETURN); but it retains the open link minimized.
However if I add a delay...
IF MESSAGEB("Get New Prices... ?", 36) = 6 && If YES...
loHyperlink = CREATEOBJECT("Hyperlink")
loHyperlink.navigateto(" WAIT WINDOW "Connecting..." TIMEOUT 15
ENDIF
... then the web page is opened and loaded normally, and is usable until exited by the user; then returns to the next code line after the IF clause.
I have used this NavigateTo function often in the past without this happening. Any ideas?
Thanks
Wilfranz