Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
OnPermissionRequested from Powerbuilder
#2
Hello David,

When I tried to visit the https://www.ft.com site from down here, it did not trigger any permission related popups for me.
Might be that that is region specific.

However I just looked in my list of open support issues and there is a known support issue around permission requests.
The State variable returns invalid data and unless you set that to something valid (such as 1) it will block ongoing navigational requests. I will look at that today to see if I can figure out what is happening here.
FWIW, one could see this with a site such as https://www.weerplaza.nl (search "Zoek voor Plaats of Postcode" gives an option to use GPS)

re. the event not firing.
I'm not sure why you are seeing that. It certainly does fire here.
One thing I noticed with PowerBuilder that you have to remove the control and add it fresh in order for it to see new events.
For details see:
https://docs.appeon.com/pb2019r3/applica...05s03.html

and in particular this bit:

Quote:Using events of the ActiveX control

An ActiveX control has its own set of events, which PowerBuilder merges with the events for the custom control container. The ActiveX control events appear in the Event List view with the PowerBuilder events. You write scripts for ActiveX control events in PowerScript and use the Object property to refer to ActiveX control properties and methods, just as you do for PowerBuilder event scripts.

The only difference between ActiveX control events and PowerBuilder events is where to find documentation about when the events get triggered. The ActiveX control provider supplies the documentation for its events, properties, and functions.

The PowerBuilder Browser provides lists of the properties and methods of the ActiveX control. For more information, see OLE information in the Browser.
New versions of the ActiveX control

If you install an updated version of an ActiveX control and it has new events, the event list in the Window painter does not add the new events. To use the new events, you have to delete and recreate the control, along with the scripts for existing events. If you do not want to use the new events, you can leave the control as is -- it will use the updated ActiveX control with the pre-existing events.


More details later once I had a chance to debug this for a bit and see what is happening.
--
Wil
Reply


Messages In This Thread
RE: OnPermissionRequested from Powerbuilder - by wila - 2022-06-09, 11:47:23

Forum Jump:


Users browsing this thread: 2 Guest(s)