Results 1 to 5 of 5

Thread: [RESOLVED] Keyboard insert button

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Sep 2009
    Posts
    19

    Resolved [RESOLVED] Keyboard insert button

    Hi...
    how to make the keyboard insert button work just like ms word in textbox?

    Tks

  2. #2
    I don't do your homework! opus's Avatar
    Join Date
    Jun 2000
    Location
    Good Old Europe
    Posts
    3,863

    Re: Keyboard insert button

    ???
    IMHO that is a function provided by the OS, in other words it should work in a textbox! Please describe your problem with more details.
    You're welcome to rate this post!
    If your problem is solved, please use the Mark thread as resolved button


    Wait, I'm too old to hurry!

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Sep 2009
    Posts
    19

    Re: Keyboard insert button

    i'm using getkeystate(vbkeyinsert) to check is it the insert button on or off. When its on and type a word in textbox it will overwrite the next letter and if its off it will slide the next letter. But in my case it doesn't effect at all.

  4. #4
    I don't do your homework! opus's Avatar
    Join Date
    Jun 2000
    Location
    Good Old Europe
    Posts
    3,863

    Re: Keyboard insert button

    did you check it without your code? I checked it on a VBA-Textbox, however I think it should woirk in VB6 as well! Just put a Textbox on an Form and run it. Now try to write in that TextBox (with and wihout INS ).
    You're welcome to rate this post!
    If your problem is solved, please use the Mark thread as resolved button


    Wait, I'm too old to hurry!

  5. #5

    Thread Starter
    Junior Member
    Join Date
    Sep 2009
    Posts
    19

    Resolved Re: Keyboard insert button

    Hi opus thanks for your reply, but still not working.
    Anyway, after searching in forums finally i found the code

    http://www.vbforums.com/showthread.p...ghlight=inskey

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