Open a url on the parent page

Hi,
I’d like to ask how to show url in target frame or named dialog/window, neither ‘_self’ nor ‘_blank’? I don’t want to show url in either current window or a new window because the current window is a popup window based on the main window. I’d like to finish some functions in the popup window then close the window and open a html file which will take arguments from the popup window.

Thanks,

The flow of your routine is a little fuzzy in your post. But it sounds like you could set the URL into a global variable, close your popup, and then run a URL with _self target in the main window, grabbing the global variable as the URL?

kazar

I tried using call_back method but it doesn’t work. There is a button in the main form; it will call a method to pop up another window. After I set url into a variable and closed the popup window it returns back to the calling form method ‘dialog_callback()’. In this method I ran the url using application.showURL(url,‘_self’) but nothing happened. If I ran url in a blank page then it works. Doesn’t it know about ‘_self’?

what happens if you leave the target null?

If I leave the target null it will open a new page, just like using ‘_blank’. I need the url to be opened in the main form. This usrl will open a download window. If this window is opened on the popup window then after download is done users have to close the popup window. What I want to do is opening download window and closing the popup window.