09-08-2018, 02:13 AM
(This post was last modified: 09-08-2018, 02:13 AM by Alexandre Machado.)
Hi Ian,
basically because this
is exactly the same as this:
Possible combination of options (the last parameter) are:
TIWWindowOption = (
woButtons, woStatusBar, woMenuBar, woScrollBars, woResizable,
woCopyHistory, woFullScreen, woDetectBlock, woDefault);
So, I believe you are looking for this:
Which will use the default option but still keeping the popup blocker detection in place
basically because this
Code:
WebApplication.NewWindow( webapplication.ApplicationURL + '/mytextfile.txt', '', -1, -1 );
is exactly the same as this:
Code:
WebApplication.NewWindow( webapplication.ApplicationURL + '/mytextfile.txt', '', -1, -1, [woDefault] );
Possible combination of options (the last parameter) are:
TIWWindowOption = (
woButtons, woStatusBar, woMenuBar, woScrollBars, woResizable,
woCopyHistory, woFullScreen, woDetectBlock, woDefault);
So, I believe you are looking for this:
Code:
WebApplication.NewWindow('http://www.atozed.com', '', -1, -1, [woDefault, woDetectBlock]);
Which will use the default option but still keeping the popup blocker detection in place