Results 1 to 3 of 3

Thread: Text box bigger than form, can it be done?

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 2000
    Location
    KC, MO
    Posts
    2

    Question

    Here is the scenario: I wrote a program that resides as a toolbar on my screen. This toolbar allows the user to send and recieve net send messages in NT. Its pretty cool, does what I need, now it is time to make it a little more functional. The text box to enter the message is a little small due to it being on a toolbar smaller than the system bar. It only shows one line at a time so multi-line messages are a bit difficult.

    What I want is to make the text box "extend" beyond the form below, or above (depending on where the bar is docked). I have looked for various demos and at alot of api tutorials, but can't find anything like this. Is this even possible?

    Thanks for any ideas you guys/gals have.

  2. #2
    Guest
    Easy. At design time, make the Form bigger than you need, draw a TextBox the size of the Form, then shrink the Form to the size you want.

    This will make the Form smaller than the TextBox.

  3. #3

    Thread Starter
    New Member
    Join Date
    Nov 2000
    Location
    KC, MO
    Posts
    2
    of course, why didn't I think of that......?

    I think I am going to try and just fake it with another form the same width as the text box and just overlay it once focus is set to the said text box.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width