Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
OnNavigationCompletedHex firing
#1
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.
Reply


Messages In This Thread
OnNavigationCompletedHex firing - by carlos@agpsoftware.com - 2022-06-17, 07:53:22
RE: OnNavigationCompletedHex firing - by wila - 2022-06-17, 09:18:47

Forum Jump:


Users browsing this thread: 1 Guest(s)