Results 1 to 4 of 4

Problem to adjust new left position of frame

  1. #1
    abdolmajed is offline Novice
    Windows 10 Access 2016
    Join Date
    Nov 2019
    Posts
    4

    Problem to adjust new left position of frame

    I want to place new position for the frame by VBA code but instead ,width of frame increase and doesn't move.
    Any idea to solve this problem
    Attached Files Attached Files

  2. #2
    Ajax is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    7,564
    its because your frame contains controls - the constrain on the frame is that these controls cannot be outside the frame - so you need to move these as well. Alternative is to put the frame into a subform and move the subform - as you have found, moving the frame does not move the controls - as happens when in design mode

  3. #3
    abdolmajed is offline Novice
    Windows 10 Access 2016
    Join Date
    Nov 2019
    Posts
    4
    Thank you. I am going to place that than other control in main maximized form and it needs to change size of all controls depends on user monitor. If I put into a subform what do I change size of buttons and frame. Thus I think it's better we find a way to solve this problem.

  4. #4
    Ajax is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    7,564
    how much do your users monitors vary in size? Usually easiest to design to the smallest monitor.

    There are plenty of examples on this and other forums about resizing forms to fit monitors - here is an example with links https://www.devhut.net/2017/09/08/ac...en-resolution/

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

Similar Threads

  1. Replies: 2
    Last Post: 08-31-2017, 07:52 AM
  2. Left join problem
    By therzakid in forum Access
    Replies: 24
    Last Post: 03-22-2014, 03:51 PM
  3. Problem with Form starting at the wrong position of a page
    By thebionicredneck2003 in forum Forms
    Replies: 2
    Last Post: 05-10-2013, 12:49 PM
  4. Replies: 0
    Last Post: 04-22-2011, 04:58 AM
  5. Problem with Left Join & VB6
    By msrdjan1 in forum Queries
    Replies: 0
    Last Post: 03-30-2010, 01:48 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
  •  
Tech Forums: Microsoft Office Forums