Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Chatbox Resize
#2
Find the resizegui sub.

Comment out all the code inside (or if you're feeling adventurous, go delete all calls to it ;D)

Also, a quick tip to finding this out yourself.

You know that some piece of code is resizing the chat box, so do a quick search for "txtChat.width" and see where that takes you.

You can do the same for any other code, and it's a life saver when finding out what's going wrong with long strings of packets.

As for the text on the screen, that is perhaps the easiest edition ever.

There is a tutorial for adding it to a textbox, but personally I either print to a label or print directly to the form.

To do this, go into "gameloop" and find "mytext". There should be a line of code blting your text. Comment that out, then in either the gameloop (easiest) add "frmMirage.lblMyText.caption = mytext" or do it in HandleKeyPresses for a more optimised version (harder for beginners).
Quote:Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)