Results 1 to 3 of 3
  1. #1
    edmscan is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Feb 2014
    Posts
    168

    How to allow typing in text box of popup form on form opening ?

    I have a popup form .. which is launched from a switchboard (which is then minimized on the opening of the popup. This code is in the load event of the popup form and works fine) ... and leaves the popup on the screen.

    However the popup does not have focus ... and I have to click on the top of the popup form to give it focus so I can type in a search text box.

    How do I set focus to this text box on the popup forms opening ? Note .... the cursor is blinking in the search text box when the form opens but if I type ... nothing happens, until I click on the popup window .. to seemingly give it focus.

    It is not the end of the world .. but it would be nice if I did not have to click on the popup window to "allow me to type in that text box"

    Thanks ...

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,772
    Code in some event would have to set focus back to the form, perhaps a button click or AfterUpdate of some data control.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    edmscan is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Feb 2014
    Posts
    168
    Thanks

    That's exactly what I did .. I just had some of my code in the wrong place .. and the focus got to the wrong form.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Difference between opening a form vs. a popup form?
    By Access_Novice in forum Forms
    Replies: 8
    Last Post: 01-18-2014, 01:10 PM
  2. Replies: 1
    Last Post: 10-30-2012, 03:50 PM
  3. All text visible while I'm typing
    By viro in forum Access
    Replies: 4
    Last Post: 06-24-2012, 05:11 PM
  4. Replies: 1
    Last Post: 11-21-2010, 02:20 AM
  5. popup when opening a form
    By ajetrumpet in forum Forms
    Replies: 1
    Last Post: 10-08-2010, 09:33 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums