Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Inconsistent behaviour between overloaded versions of NewWindow
#4
Hi Ian,

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
Reply


Messages In This Thread
RE: Inconsistent behaviour between overloaded versions of NewWindow - by Alexandre Machado - 09-08-2018, 02:13 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)