Do VBA textbox controls not have right click Cut/Copy/Paste methods?

Discussion in 'AutoCAD' started by Allen Johnson, Dec 7, 2004.

  1. Do VBA textbox controls have right click Cut/Copy/Paste methods as in
    standard VB controls?
    If they do, how can you activate them? When I right-click in a textbox box
    in VB, you get a popup Undo/Cut/Copy/Paste/Delete/SelectAll submenu, but I
    don't seem to get that with a VBA control.

    Also, do VBA Userforms not have the menubars either, say like I wanted to
    create my own popup menu?
     
    Allen Johnson, Dec 7, 2004
    #1
  2. Allen Johnson

    Kevin Terry Guest

    you can use windows shortcut keys, such as ctrl+c for copy, but the right
    click menu is not an easy thing to create on vba forms. you have to use the
    windows api - if you're up for the challenge you might be able to find an
    example on cadvault.com (use to be on vbdesign.net anyway...)

    Kevin
     
    Kevin Terry, Dec 8, 2004
    #2
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.