[AccessD] Position pop up form on opening

Brett Barabash BBarabash at TappeConstruction.com
Thu Feb 27 13:18:27 CST 2003


Obviously, if you are going to manually position the form, you would want to
set AutoCenter=False.  Are you saying that it won't reposition your form if
AutoSize is turned on?  That might be the reason why I don't use the
MoveSize method.
 

-----Original Message-----
From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com]
Sent: Thursday, February 27, 2003 1:12 PM
To: accessd at databaseadvisors.com
Subject: Re: [AccessD] Position pop up form on opening


Yeah!  That worked!  Had to take off the autosize and autocenter, though.
 
Thank you.
 
Rocky
 

----- Original Message ----- 
From: Brett Barabash <mailto:BBarabash at tappeconstruction.com>  
To: 'accessd at databaseadvisors.com' <mailto:'accessd at databaseadvisors.com'>  
Sent: Thursday, February 27, 2003 10:36 AM
Subject: RE: [AccessD] Position pop up form on opening

Aha, that is correct!
Rocky, you can achieve the same results as what I illustrated, by typing in
your Form_Load event:
DoCmd.MoveSize x, y
 
I am trying to remember why I gave up on using MoveSize and went with the
API route.  There was a certain situation when it didn't give me the results
I wanted.
 

-----Original Message-----
From: John Ruff [mailto:papparuff at attbi.com]
Sent: Thursday, February 27, 2003 12:25 PM
To: accessd at databaseadvisors.com
Subject: RE: [AccessD] Position pop up form on opening


Sorry, I was using XP but 2K has a DoCmd.MoveSize property which does the
same thing.
 
 

John V. Ruff - The Eternal Optimist :-) 
Always Looking For Contract Opportunities 

"Commit to the Lord whatever you do, 
        and your plans will succeed." Proverbs 16:3 

-----Original Message-----
From: accessd-admin at databaseadvisors.com
[mailto:accessd-admin at databaseadvisors.com] On Behalf Of Brett Barabash
Sent: Thursday, February 27, 2003 10:17 AM
To: 'accessd at databaseadvisors.com'
Subject: RE: [AccessD] Position pop up form on opening


John,
What version of Access are you using?  A2K doesn't have a Move method for a
form!

-----Original Message-----
From: John Ruff [mailto:papparuff at attbi.com]
Sent: Thursday, February 27, 2003 12:09 PM
To: accessd at databaseadvisors.com
Subject: RE: [AccessD] Position pop up form on opening


Use the me.move property in the form's open or load event
 
Private Sub Form_Load()
' Must use twips
    
    ' moves the form 4" to the left and 2" down from the top
    Me.Move 4 * 1440, 2 * 1440
 
End Sub

 
John V. Ruff - The Eternal Optimist :-) 
Always Looking For Contract Opportunities 

"Commit to the Lord whatever you do, 
        and your plans will succeed." Proverbs 16:3 

-----Original Message-----
From: accessd-admin at databaseadvisors.com
[mailto:accessd-admin at databaseadvisors.com] On Behalf Of Rocky Smolin -
Beach Access Software
Sent: Thursday, February 27, 2003 9:52 AM
To: AccessD at databaseadvisors.com
Subject: [AccessD] Position pop up form on opening


Dear List:
 
How does one position a pop up form on opening?  I tried Auto-Center but
it's too high.  I need to tell it just where to go.
 
 
MTIA,
 
Rocky Smolin
Beach Access Software
 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://databaseadvisors.com/pipermail/accessd/attachments/20030227/26c1e780/attachment-0001.html>


More information about the AccessD mailing list