Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 How to make the Title of the window change?
Index -> Programming, Turing -> Turing Submissions
View previous topic Printable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
prateke




PostPosted: Thu Jun 17, 2010 12:02 am   Post subject: How to make the Title of the window change?

I know im supposed to use View.Set ('title:<string>')
But how can i make the title a variable string????
Sponsor
Sponsor
Sponsor
sponsor
Insectoid




PostPosted: Thu Jun 17, 2010 7:35 am   Post subject: RE:How to make the Title of the window change?

var title : string
View.Set ("title:"+title)
Cezna




PostPosted: Thu Jun 17, 2010 2:08 pm   Post subject: RE:How to make the Title of the window change?

You have to have:
Turing:

View.Set ("title:" + title_vairable)


Since this has to be in string format, if it's a number, you can also use:

Turing:

View.Set ("title:" + intstr (title_vairable))
Prince Pwn




PostPosted: Fri Jun 18, 2010 9:49 pm   Post subject: RE:How to make the Title of the window change?

Thanks for the submission ;D
Display posts from previous:   
   Index -> Programming, Turing -> Turing Submissions
View previous topic Tell A FriendPrintable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 4 Posts ]
Jump to:   


Style:  
Search: