- Orna Peretz
- PowerBuilder
- Sunday, 20 December 2020 02:23 PM UTC
Hi,
Using PB 2019 (recently upgraded).
I have to call a modal window developed in dotnet and displayed via IE. In this window a list is displayed. The user checks a checkbox in the list thus selecting rows and then clicks a button which returns data from the selected rows in Json format (string) and closes the IE window.
What I need is a way to get the returned string when the window closes.
I tried using a MS Web Browser OLE Control on a PB response window. I found it has a WindowClosing event which appears to be the right place to get the returned value. But still am not able to get the returned value.
In dotnet it looks like this:
var FileList = window.showModalDialog(sUrl, window, sWinProperties);
where sUrl is the url to display. When the modal windows closes, the retunrValue is returned in FileList.
Any ideas as how to do this in PB?
Thanks
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.