Results 1 to 4 of 4
  1. #1
    New Lounger
    Join Date
    Aug 2002
    Location
    Queensland, China
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    How to Move the button? (2002)

    I want to move a button from the form's page footer to the page header, how can i do this use vba ?

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: How to Move the button? (2002)

    I don't think this is possible. The Section property of a control is read-only. A potential workaround: create a button in the page header AND a button in the page header. Use the Visible property to hide one of them and unhide the other as needed.

  3. #3
    Super Moderator
    Join Date
    Jun 2002
    Location
    Mt Macedon, Victoria, Australia
    Posts
    3,993
    Thanks
    1
    Thanked 45 Times in 44 Posts

    Re: How to Move the button? (2002)

    I don't know how to do that, but could you, instead, have two buttons, and use vba to hide one and show the other.
    It will look like you have moved it.
    Regards
    John



  4. #4
    Plutonium Lounger
    Join Date
    Dec 2000
    Location
    Sacramento, California, USA
    Posts
    16,775
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: How to Move the button? (2002)

    What would be the point, even if it were possible? If you're playing with trying to reconfigure the form for different screen resolutions, just build it for the largest resolution in the first place or use the suggested method of showing and hiding copies of the button.
    Charlotte

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •