Page 1 of 1

Sax ActiveX Scripting window opens behind browser

Posted: Mon Jun 03, 2013 2:07 pm
by robotask
Used the basic scripting task to create a small choice list

It opens up when a specific browser, firefox, safari. chrome etc.... tab is opened

Problem is, it opens BEHIND browser when it should have focus on top since it waits until the browser is fully ready, even inserted a 10 sec, 30 sec delay and it still opens behind the browser and so the blinking Sax ActiveX Scripting window must be selected from taskbar

Is that window title modifiable as its very confusing to tell a user to Look for a window called Sax ActiveX ..... etc

Re: Sax ActiveX Scripting window opens behind browser

Posted: Tue Jun 04, 2013 8:46 am
by Oleg
This is known problem.

Dialogs ActiveX are appeared behind of active window somehow..
...so the blinking Sax ActiveX Scripting window...
You can change the caption of dialog to your own (see example). Just specify "Choose menu" or something else

Code: Select all

	Begin Dialog UserDialog 270,189,"Choose menu" ' %GRID:10,7,1,1
		PushButton 20,7,220,21,"1-st button",.PushButton1
		PushButton 20,35,220,21,"2-nd button",.PushButton2
		PushButton 20,63,220,21,"3-d button",.PushButton3
		PushButton 20,91,220,21,"4-th button",.PushButton4
		PushButton 20,119,220,21,"5-th button",.PushButton5
		CancelButton 170,161,90,21
	End Dialog
If the empty caption is specified then BASIC engine assigns own default caption.