Page 1 of 1

Title of the tab

Posted: Tue Jul 14, 2015 9:21 am
by Angelo
Hi, I just finished my first application, a type of "hello world" thing. However, the title of the browser's tab, in which the app is running, is still "Spiderbasic". How can I change it?

Re: Title of the tab

Posted: Tue Jul 14, 2015 10:46 am
by bbanelli
Angelo wrote:Hi, I just finished my first application, a type of "hello world" thing. However, the title of the browser's tab, in which the app is running, is still "Spiderbasic". How can I change it?
Hi Angelo,

in "index.html" or whichever is your output HTML file.

However, I was also wandering if there is an option to automate that process in terms of defining title in Project?

With my best,

Bruno

Re: Title of the tab

Posted: Tue Jul 14, 2015 11:33 am
by Angelo
Hi, Bruno, that is exactly my point: to set a kind of title constant as you like, so that you don't have to open the exported html-file.

Re: Title of the tab

Posted: Tue Jul 14, 2015 12:23 pm
by Fred
If you open a window with the "#PB_Window_Background" flag set, it should set the title of the window.

Re: Title of the tab

Posted: Tue Jul 14, 2015 3:38 pm
by Angelo
Sorry, Fred, it doesn't work. Now I have

Code: Select all

OpenWindow(#window, 500, 200, 300, 130, "Hello", #PB_Window_Background)
and it's still "SpiderBasic" as tab title.