Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / Trying to make the input the title of the window

Author
Message
Gecko
21
Years of Service
User Offline
Joined: 28th Jul 2003
Location:
Posted: 25th May 2004 19:24
I am trying to make it so that the user can change the windows input so the title of the window will be whatever they have chosen. Possible?
Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 25th May 2004 21:24
Sure is...

Once you get the input, use the Set Window Title command to change it

Jess.


Team EOD :: Programmer/Logical Engineer/All-Round Nice Guy
Gecko
21
Years of Service
User Offline
Joined: 28th Jul 2003
Location:
Posted: 25th May 2004 23:48
Could you please post how it would go?
comando 300
21
Years of Service
User Offline
Joined: 23rd Nov 2003
Location:
Posted: 26th May 2004 00:02
input "Enter title:";title$
set window on
do
set window title title$
set window layout 1,1,1
set window size 100,200
loop

CURRENT PROJECT: RETRO PAC-MAN
Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 26th May 2004 10:36 Edited at: 26th May 2004 10:37
Not quite like that...
Try this:


Jess.


Team EOD :: Programmer/Logical Engineer/All-Round Nice Guy
comando 300
21
Years of Service
User Offline
Joined: 23rd Nov 2003
Location:
Posted: 27th May 2004 02:39 Edited at: 27th May 2004 02:40
hmm my code can be use for scare the people



CURRENT PROJECT: RETRO PAC-MAN

Login to post a reply

Server time is: 2025-05-24 00:18:25
Your offset time is: 2025-05-24 00:18:25