Results 1 to 2 of 2
  1. #1
    tylerg11 is offline Competent Performer
    Windows 7 64bit Access 2007
    Join Date
    Sep 2011
    Posts
    200

    SetFocus on Image Control??

    I have a continuous form that includes an image control. I want it to be like a thumbnail image, that, when clicked, opens the image in the applicaiton window much larger. The code works great if it is launched from a button, but if I put it on the OnClick event of the image control, it doesn't get the focus. So if the cursor is on a textbox in record #2, when the image control is clicked for record #1, it will dispaly record #2. Is there a way to reposition the focus when an image is clicked?

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    You can 'go into' data control which will select record. Also, clicking button apparently selects record as well. However, Image control click is associating with current record. Need to select record first, then click the image control. Label control behaves the same way.

    I call this a bug and looks like MS has some work to do to improve the Image control, which might never happen.
    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.

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

Similar Threads

  1. Replies: 9
    Last Post: 05-07-2012, 06:11 PM
  2. Replies: 2
    Last Post: 10-10-2011, 10:58 AM
  3. Image List Control
    By Fredwards in forum Access
    Replies: 2
    Last Post: 11-23-2010, 10:30 PM
  4. syntax on setting image Picture control
    By cowboy in forum Reports
    Replies: 2
    Last Post: 02-18-2010, 10:00 AM
  5. Image control in MS Access
    By celestialcitizen in forum Forms
    Replies: 6
    Last Post: 07-03-2009, 03:25 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
  •  
Other Forums: Microsoft Office Forums