Results 1 to 6 of 6
  1. #1
    newegyptian is offline Advanced Beginner
    Windows 7 32bit Access 2007
    Join Date
    Mar 2019
    Posts
    46

    how to give certain size and place to pop up form

    how to give certain size and place to pop up form





  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,521
    define the size in design mode,
    normally the form opens dead center of the screen, to alter, in the form LOAD event, set the position:
    me.left = 220
    me.top = 400

  3. #3
    newegyptian is offline Advanced Beginner
    Windows 7 32bit Access 2007
    Join Date
    Mar 2019
    Posts
    46
    Quote Originally Posted by ranman256 View Post
    define the size in design mode,
    normally the form opens dead center of the screen, to alter, in the form load event, set the position:
    Me.left = 220
    me.top = 400
    not work
    something wrong

  4. #4
    Micron is offline Virtually Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,737
    try .MoveSize method. If the size is set in property sheet, you can just use the position values
    https://docs.microsoft.com/en-us/off...docmd.movesize

    Umm, maybe dispense with the huge red text? Unless you have vision problems and need it, otherwise it looks like a madman screaming.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  5. #5
    Uncle Gizmo is offline Novice
    Windows 10 Access 2013 64bit
    Join Date
    Oct 2016
    Posts
    26
    You can also make your form "Sticky" in that it will stay where you put it. This can be achieved by adding Custom Property's to the form property collection. then you use the on open and on close event of the Form to set these properties, thereby making the form sticky.

    I blogged about it on my website here, you should be able to find links to all the necessary code.

    http://www.niftyaccess.com/sticky-form-builder/

    Sent from my SM-G925F using Tapatalk

  6. #6
    newegyptian is offline Advanced Beginner
    Windows 7 32bit Access 2007
    Join Date
    Mar 2019
    Posts
    46
    Quote Originally Posted by uncle gizmo View Post
    you can also make your form "sticky" in that it will stay where you put it. This can be achieved by adding custom property's to the form property collection. Then you use the on open and on close event of the form to set these properties, thereby making the form sticky.

    I blogged about it on my website here, you should be able to find links to all the necessary code.

    http://www.niftyaccess.com/sticky-form-builder/

    sent from my sm-g925f using tapatalk
    explain more please

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

Similar Threads

  1. Replies: 4
    Last Post: 06-24-2017, 05:12 PM
  2. Replies: 4
    Last Post: 02-10-2015, 01:07 AM
  3. Replies: 1
    Last Post: 04-08-2014, 10:59 PM
  4. How to place a form into powerpoint using vba
    By wwjd77414 in forum Access
    Replies: 4
    Last Post: 09-03-2012, 04:41 PM
  5. Should I give Up on This Form?
    By Palomino33 in forum Forms
    Replies: 25
    Last Post: 11-09-2011, 05:37 AM

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