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.

Newcomers DBPro Corner / Loading Object by Text Input

Author
Message
culmor30
17
Years of Service
User Offline
Joined: 16th Jun 2007
Location: In my head.
Posted: 11th Apr 2008 04:21


Yeah, probably just not thinking straight, but this isn't working. I have punk.x in my project dir, and when I type it and hit enter, it doesn't load. Is it because I need to add the " and " around the filename?

Also, I don't care as much, but how would I go about getting all the characters that I'm typing there spaced out as the user types?

Thanks in advance.
BMacZero
18
Years of Service
User Offline
Joined: 30th Dec 2005
Location: E:/ NA / USA
Posted: 11th Apr 2008 05:14 Edited at: 11th Apr 2008 05:15
Your problem is because after printing all that writing, the program reads the entry buffer and then immediately moves on. It will only read stuff that the user typed while it was writing the text, which isn't going to be much .

Try this:



Quote: "Also, I don't care as much, but how would I go about getting all the characters that I'm typing there spaced out as the user types?"


Hmmm? Can you explain that a little better?


Los Mineros are on leave...
Mobiius
Valued Member
21
Years of Service
User Offline
Joined: 27th Feb 2003
Location: The Cold North
Posted: 18th Apr 2008 00:20
As said above, replace
with
. This should fix it and display the text as the user types.

3700+ Athlon 64 - Geforce 7600 GS - 2GbDDR2 RAM - 40Gb Hdd (In this pc) - Windows Vista Ultimate (x86)
culmor30
17
Years of Service
User Offline
Joined: 16th Jun 2007
Location: In my head.
Posted: 24th Apr 2008 08:02
Ah, thanks. Worked. As for the other thing, all of the text appears in the same place. I'm assuming I have to space it accordingly? Kinda annoying.

Login to post a reply

Server time is: 2024-11-25 03:55:27
Your offset time is: 2024-11-25 03:55:27