|
-
Aug 26th, 2003, 11:29 AM
#1
Thread Starter
Addicted Member
chat
(ii have vb.net standard '02)
hey, i was wondering how i could have a chat box on my game that i am making. I already have to down but i th ink there is an easier and more efficient way of doing it.
its bassically like this (so far):
Code:
chatwindow.text = chatwindow.text & vbcrlf & (username) & ":" & chattext.text
thats the code under the submit button.
the problem is that when i run it, the window doesnt automattically scroll down all the way when i submit it. so each time i send a message out to chat window it just shows the top lines and i would have to scroll down to the bottom to read the message. i know there must be an easier way of doing this and i was wonderingn what that could be..
also, i know this is going to be easy but i just have a brain block- i want it so that the user only has to press enter to submit the text to the main window but i forget what that line of code is ( is it somehting like (Asc(e.char)) = 13 ??)
thanks in advance,
James
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|