Force Setfocus to go somewhere else

Discussion in 'AutoCAD' started by Dave Baranas, May 12, 2005.

  1. Dave Baranas

    Dave Baranas Guest

    I have been trying to find a way to get the focus off of a control and
    put it somewhere else. The reason for this is that when a procees is
    finished the next time I click on another control on the form the last
    selected control fires off again.

    My form has several frames that group controls and there seems to be no
    way to set the focus to some dummy control in another frame without
    getting an error.

    Even if you could take the focus away and pass it back to the form
    would be good.

    Has anybody found a way to overcome this VBA annoyance. I really would
    hate to make more dummy controls in each frame just to overcome this.

    Thanks for any help

    Dave
     
    Dave Baranas, May 12, 2005
    #1
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.