Results 1 to 4 of 4

Thread: Simple Form Focus Question [Resolved]

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Feb 2005
    Posts
    116

    Resolved Simple Form Focus Question [Resolved]

    Hi, I have a would-be simple question about setting which form has the focus.

    Within my project I have two forms: frmQuery and frmResults and on frmQuery is a button called cmdExecute, which executes a query.

    After this button has been clicked, I simply want to give the focus to frmResults.

    Any ideas?
    Last edited by olamm2k; Feb 16th, 2005 at 09:34 AM.

  2. #2
    PowerPoster Pasvorto's Avatar
    Join Date
    Oct 2002
    Location
    Minnesota, USA
    Posts
    2,951

    Re: Simple Form Focus Question

    show.frmResults

  3. #3
    PowerPoster
    Join Date
    Dec 2003
    Posts
    4,787

    Re: Simple Form Focus Question

    frmresults.show

    will work

    Pino

    edit -

    Quote Originally Posted by Pasvorto
    show.frmResults
    i dont think that works.

  4. #4

    Thread Starter
    Lively Member
    Join Date
    Feb 2005
    Posts
    116

    Re: Simple Form Focus Question

    Thanks to both of you - the problem was that I had frmQuery.Show method after frmResults.Show!

    Oops...

    (and I think Pasvorto meant Show frmResults)

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