2022-06-17, 07:53:22
(This post was last modified: 2022-06-17, 08:05:33 by carlos@agpsoftware.com.)
Hi,
I'm new in Antview, testing for deciding to buy.
We use VFP
.- Wrote in code just a mess in OnNavigationCompletedHex event. Fine. It works. (after setting EventsUseHexadecimal = true)
.- Then, instead of show a message, modify a form property to know when url finished
thisform.terminado = .t. && (true)
.- In the launch code, i use a loop (really easy to understand):
thisform.terminado = .f.
thisform.oAntView.object.navigate(MyUrl)
do while !thisform.terminado
doevents
wait window "Waiting page to finish load..." timeout 0.5 && half a second
enddo
.- Incredibly, thisform.terminado property never change his value; OnNavigationCompletedHex does not fire.
Any idea?
Thanks in advance
Regards
discovered that, no matter what code is after navigate method makes OnNavigationCompletedHex no firing.
Is only fired if there is no code after.
I'm new in Antview, testing for deciding to buy.
We use VFP
.- Wrote in code just a mess in OnNavigationCompletedHex event. Fine. It works. (after setting EventsUseHexadecimal = true)
.- Then, instead of show a message, modify a form property to know when url finished
thisform.terminado = .t. && (true)
.- In the launch code, i use a loop (really easy to understand):
thisform.terminado = .f.
thisform.oAntView.object.navigate(MyUrl)
do while !thisform.terminado
doevents
wait window "Waiting page to finish load..." timeout 0.5 && half a second
enddo
.- Incredibly, thisform.terminado property never change his value; OnNavigationCompletedHex does not fire.
Any idea?
Thanks in advance
Regards
discovered that, no matter what code is after navigate method makes OnNavigationCompletedHex no firing.
Is only fired if there is no code after.