Skip to main content
gamedev.net
🔒 Locked

Text bug in Visual Basic

Started by Lenox 3 replies 550+ views
Original Post
Lenox
Lenox
Hello, I am having a bug with Visual Basic and a TextBox. Here's an example: I type in "Text" to my TextBox, hit enter, then it submits it to my other TextBox, it says: "Server:\tText". I type in "Text" again, hit enter, and this time is says: "Server:\nText". Then, I type in "Text" one last time, hit enter, and then it just says: "Server:". So, I type it in one last time, hit enter, and nothing happens except the text box I type in clears. Whoops, I've just been informed that the server I host images on is up, so here: Any help is appreciated, thanks. [EDIT] Removed pic to stop the stretching. [EDIT2] Fixed [Edited by - Lenox on September 17, 2005 10:19:44 PM]
I_Smell_Tuna
I_Smell_Tuna
Make your text box a multi-lined text box.
Lenox
Lenox
Quote:
Original post by I_Smell_Tuna
Make your text box a multi-lined text box.


It is a multi-lined text box. If it wasn't, then vbNewLine and vbTab wouldn't work. Thanks for trying, though.
Lenox
Lenox
BTW, I did fix the other problem: It was just a design issue.

[EDIT]

Fixed! I had accidentally set Text.MultiLine to true.

[Edited by - Lenox on September 17, 2005 10:19:09 PM]

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.