CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 15 of 19

Threaded View

  1. #10
    Join Date
    Mar 2007
    Location
    15 doors east
    Posts
    47

    Re: Can a menu bar cause validation?

    Quote Originally Posted by WizBang View Post
    Try the SetFocus method for a control instead of SendKeys. Or you can change the focus via API.
    The question is, how do I pick the control to use for ctl.SetFocus?

    Edited to add: The Is operator worked properly for the comparison. Thanks; that's part of the issue resolved.
    Last edited by ke3om; December 11th, 2008 at 02:19 PM.

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

Featured