Results 1 to 8 of 8
  1. #1
    royl is offline Novice
    Windows 7 32bit Access 2010 64bit
    Join Date
    Jan 2015
    Posts
    4

    locking a photo to a specific place in the background


    Hi!

    I am doing a project on basketball league and I want to show a photo of the league MVP in my mainpage.
    I have attached my background photo, with the yellow square to put my MVP photo inside it.
    I want to show the picture of the MVP with details about him - to do so i have put in the form an OLE of the photo and Text boxes that takes the details from a specific query.

    my problem is that the OLE and textboxes move(If i open/close my navigation page) and "do not lock themselves" to the specific yellow square.
    attached are 2 pictures of my mainpage that show that the photo and details move.

    I would greatly appreciate any help you can give me!
    Attached Thumbnails Attached Thumbnails MVP.jpg   1.jpg   2.jpg  

  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,771
    What is 'mainpage' - an Access form?

    What is 'navigation page' - another Access form?

    What form section are the image and data in?

    If you want to provide db for analysis, follow instructions at bottom of my post.
    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
    Ruegen's Avatar
    Ruegen is offline VIP
    Windows 8 Access 2010 64bit
    Join Date
    Jul 2013
    Location
    Australia
    Posts
    1,496
    If the form is resizing and moving the objects away from the background image - in VBA you could resize or "snap back into place after resize" to resize the form so that things stay as they should.

    You could also set the left and top positions of the controls (text box, image box) when the form opens on the open event so that they are put into place if all else fails.

  4. #4
    royl is offline Novice
    Windows 7 32bit Access 2010 64bit
    Join Date
    Jan 2015
    Posts
    4

    Extra Info

    Hi -
    My bad - I meant to write navigation pane.
    MainPage is just the name of a form that I want to put as a tab inside the navigation form.
    Once I place the photo and the labels in the right spot (while i'm in design view of the sub-navigation form(MainPage) inside the navigation form it looks good, but if I go to a different tab and then back to MainPage everything moves again.
    I've set the top and left positions of the controls the way I wanted, but they somehow change. Ruegen - how do I do this in VBA?

    admiring anyone who is trying to help : )

    Thank you all!

  5. #5
    royl is offline Novice
    Windows 7 32bit Access 2010 64bit
    Join Date
    Jan 2015
    Posts
    4
    i'm adding the DB so it's easier to see...
    Attached Files Attached Files

  6. #6
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    Can't replicate the issue. I click Teams tab and still see the Mainpage. Player image is not shifted when I click back.

    I don't like and don't use Navigation form/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.

  7. #7
    royl is offline Novice
    Windows 7 32bit Access 2010 64bit
    Join Date
    Jan 2015
    Posts
    4
    Quote Originally Posted by June7 View Post
    Can't replicate the issue. I click Teams tab and still see the Mainpage. Player image is not shifted when I click back.

    I don't like and don't use Navigation form/control.

    Are there any recommended kinds of forms that you suggest that I use in this project? (I need to have share information about 1. teams, 2.players 3.agents...)
    If so, do u have any example of a project using this kind of navigation between forms?
    Thanks again!

  8. #8
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    I use form/subform arrangement with normal form objects. I use a tab control to organize multiple subforms.
    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: 1
    Last Post: 01-12-2015, 01:32 PM
  2. Replies: 2
    Last Post: 11-14-2014, 08:57 AM
  3. Replies: 16
    Last Post: 12-02-2013, 06:20 AM
  4. Replies: 9
    Last Post: 08-20-2013, 09:59 AM
  5. How to set an image for a photo directory
    By eninen7 in forum Access
    Replies: 3
    Last Post: 01-11-2011, 12:24 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