Results 1 to 3 of 3

Thread: Why are things the way they are?

  1. #1

    Thread Starter
    Member
    Join Date
    Jun 2000
    Posts
    37

    Question

    I've noticed that the text boxes provided with VB are insert-only. So they won't go into overwrite mode when the user toggles the insert key. To make a decent workaround, you have to use api calls to find the status of the insert key, and pull little tricks to make the box act like it's in overwrite mode.

    It just strikes me as odd how such a common piece of functionality was simply left out. Is there some easier way that I'm just missing? Might there be some other text box control out there that will handle this ability? Or will I just be stuck doing crazy workarounds to all of my text boxes just to get some simple functionality?

    Please give me your input on this.

  2. #2
    Fanatic Member
    Join Date
    Mar 2000
    Location
    That posh bit of England known as Buckinghamshire
    Posts
    658
    The standard textbox is a pretty poor excuse for a control, but the advantage is that it does not take up much system resources.


    If you want more functionality, look into the RichTextBox control.
    Iain, thats with an i by the way!

  3. #3
    Randalf the Red honeybee's Avatar
    Join Date
    Jun 2000
    Location
    off others' brains
    Posts
    4,345

    Well ....

    Perhaps MS intends to leave that task to us as an assignment in ActiveX: develop a textbox which overwrites by default!
    I am not a complete idiot. Some parts are still missing.
    Check out the rtf-help tutorial
    General VB Faq Thread
    Change is the only constant thing. I have not changed my signature in a long while and now it has started to stink!
    Get more power for your floppy disks. ; View honeybee's Elite Club:
    Use meaningfull thread titles. And add "[Resolved]" in the thread title when you have got a satisfactory response.
    And if that response was mine, please think about giving me a rep. I like to collect them!

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