Sax ActiveX Scripting window opens behind browser

Discuss RoboTask here
Post Reply
User avatar
robotask
Posts: 36
Joined: Thu May 02, 2013 11:19 am

Sax ActiveX Scripting window opens behind browser

Post 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
Oleg
Site Admin
Posts: 3014
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Re: Sax ActiveX Scripting window opens behind browser

Post 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.
Oleg Yershov
Post Reply