My Assistant
![]() ![]() |
|
|
Feb 13 2008, 05:40 AM
Post
#1
|
|
|
UtterAccess Member Posts: 37 |
Hi all
I have a form with a specified width eg 8cm and it looks OK in Design view, but when I go to Form view it fills the whole screen. What settings do I need to change so that it remains the specified size when in form view? Thanks in advance Robert |
|
|
|
Feb 13 2008, 05:46 AM
Post
#2
|
|
|
UtterAccess VIP Posts: 4,447 From: Suffolk, England |
in the on open of the form use the DoCmd.MoveSize command
play with the settings to get the form in exactly the right place and size you like. The numbers will look like 150,150,7000,4000 Jim Edited by: AQM_UK on Wed Feb 13 5:47:13 EST 2008. |
|
|
|
Feb 13 2008, 05:53 AM
Post
#3
|
|
|
UtterAccess Member Posts: 46 |
It's also possible that there's a command to maximize the form in the on open event...
Another solution could be to turn of the Auto-resize property of the form.. Martijn |
|
|
|
Feb 13 2008, 06:28 AM
Post
#4
|
|
|
UtterAccess Member Posts: 37 |
Thanks
I tried these but to no avail. In my form properties I tried to change the Moveable property to Yes but it kept reverting back to No! Why is it so??? Robert |
|
|
|
Feb 13 2008, 09:02 AM
Post
#5
|
|
|
New Member Posts: 15 From: In The Middle of Nowhere |
On the On_Open event of the form, write code to set the movable property to no as shown...
Me.Moveable = False Or enter the restore value on the On_Open event as such... DoCmd.Restore See if these work. |
|
|
|
Feb 13 2008, 09:22 AM
Post
#6
|
|
|
UtterAccess VIP Posts: 31,413 From: NC, USA |
Hi,
since you are using Access 2007 I'm assuming that you are using tab windows instead of overlapping once. This would make the forms seem like they are maximized unless they are a pop or modal form. To switch to overlapping windows as you might be used to from earlier Access versions go to the big round office button in the top left...go to the Access Options button in the bottom right of the pull down...in the Access options dialog go to the Current Database page and change the window options to overlapping. BTW...you might find the tutorials on my website helpful: http://www.access-freak.com They specifically deal with switching between the 2003 and 2007 user interface. HTH Good luck |
|
|
|
Feb 13 2008, 08:02 PM
Post
#7
|
|
|
UtterAccess Member Posts: 37 |
Thanks very much.
The overlapping windows works! Robert |
|
|
|
Feb 13 2008, 09:10 PM
Post
#8
|
|
|
UtterAccess VIP Posts: 31,413 From: NC, USA |
You're welcome.
Good luck on future projects! |
|
|
|
![]() ![]() |
|
Go to Top · Lo-Fi Version | Time is now: 22nd May 2013 - 09:19 AM |