Title of the tab

Just starting out? Need help? Post your questions and find answers here.
Angelo
Posts: 15
Joined: Tue Jul 14, 2015 9:14 am

Title of the tab

Post 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?
bbanelli
Posts: 107
Joined: Mon Jul 13, 2015 7:40 am

Re: Title of the tab

Post 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
"If you lie to the compiler, it will get its revenge."
Henry Spencer
http://www.pci-z.com/
Angelo
Posts: 15
Joined: Tue Jul 14, 2015 9:14 am

Re: Title of the tab

Post 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.
Fred
Site Admin
Posts: 1820
Joined: Mon Feb 24, 2014 10:51 am

Re: Title of the tab

Post by Fred »

If you open a window with the "#PB_Window_Background" flag set, it should set the title of the window.
Angelo
Posts: 15
Joined: Tue Jul 14, 2015 9:14 am

Re: Title of the tab

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