Results 1 to 3 of 3
  1. #1
    82280zx's Avatar
    82280zx is offline Advanced Beginner
    Windows 7 64bit Access 2013
    Join Date
    Jan 2014
    Posts
    82

    Move a command button?

    I know I can do a work around and fix this but it would be easier if I could just move the command button based on my if statement I have.



    I've tried me.cmddel.move (2.25) and I've tried me.cmddel.left = 2.25 but I am getting the same results, the buttons do move but they hug the left side of the screen and don't move to where I actually want them at.

    I know my if statement works but I guess I'm struggling to find a way to move the command buttons based on them? .move and .left doesn't seem to work the way I was hoping, anyoneone have some advice?

    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,644
    The position and dimension properties must be set with TWIPS measurement.

    1 inch = 1440 twips

    Examples:

    .tbxBox1.Left = 200
    .tbxBox1.Width = 11100
    .tbxBox1.Height = 13500
    .tbxBox1.Top = 180
    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
    82280zx's Avatar
    82280zx is offline Advanced Beginner
    Windows 7 64bit Access 2013
    Join Date
    Jan 2014
    Posts
    82
    Thanks June! Good to know!

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

Similar Threads

  1. Replies: 3
    Last Post: 03-11-2014, 12:12 AM
  2. Replies: 5
    Last Post: 11-06-2013, 02:49 PM
  3. Replies: 3
    Last Post: 08-04-2013, 07:11 AM
  4. Replies: 1
    Last Post: 07-27-2010, 02:27 PM
  5. Move to next field command...
    By mvolpone in forum Forms
    Replies: 1
    Last Post: 07-06-2010, 09:30 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