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 / Help with Input boxes in a Do Loop

Author
Message
thinkdigital
21
Years of Service
User Offline
Joined: 18th Oct 2003
Location:
Posted: 9th Nov 2003 23:31
Say, I'm making this 3d level-making program, and I need to know how to make the Input appear soild. In the Do Loop, I make an input box, and it flashes and disappears. How do you make it appear soild until the user is finished typing?

Gentlemen, your physics books were wrong. All of everything consists of two elements: me and the computer.
Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 10th Nov 2003 04:06
probably use the BackBuffer commands or somethign like that, and you have to refresh the "input" box each loop with the new backbuffer text...

I'm not too sure though, ive never needed to do it...

Hope I Helped...


Team EOD :: Programmer/Logical Engineer/All-Round Nice Guy
waffle
22
Years of Service
User Offline
Joined: 9th Sep 2002
Location: Western USA
Posted: 10th Nov 2003 17:04
a cool method i like to use starts with a background image.
The theory is this:

1 - make a HUD where you wish the user to type

2 - read keypresses and store them ina variable after
handling what special keys are used (back space, tab, enter)

3 - display the text using text commands over the HUD

when you no longer need user input, hide the HUD and clear the text.

internet gaming group

Login to post a reply

Server time is: 2025-05-21 16:19:37
Your offset time is: 2025-05-21 16:19:37