A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Size of the access window



 
 
Thread Tools Display Modes
  #1  
Old February 24th, 2006, 02:36 PM posted to microsoft.public.access.forms
external usenet poster
 
Posts: n/a
Default Size of the access window

Hi all,
I have a question about sizing the access window itself from vb-code.
I have a form that automatically comes up at start up.
Its properties are
Scroll bars: neither
Auto resize: Yes
Auto Center:Yes
Border style:none
Control box: none
Width: 22,296cm (is there no Height property?)
Pop up:no
Modal:yes
With these settings the form fills the 'upper' access window without any
subwindow or scrollbars etc. That is what i want, but when i start the
application it comes up at the size the user last left access. So it can be
big or small.
Question 1: I would like to determine the size of the accesswindow with
these property settings and in the on-open event of the form i want to resize
the accesswindow itself.
Question 2: how to prevent the user from resizing the access main window?

Can anyone help me?


  #2  
Old February 24th, 2006, 03:14 PM posted to microsoft.public.access.forms
external usenet poster
 
Posts: n/a
Default Size of the access window

Rli wrote:
Hi all,
I have a question about sizing the access window itself from vb-code.
I have a form that automatically comes up at start up.
Its properties are
Scroll bars: neither
Auto resize: Yes
Auto Center:Yes
Border style:none
Control box: none
Width: 22,296cm (is there no Height property?)
Pop up:no
Modal:yes
With these settings the form fills the 'upper' access window without any
subwindow or scrollbars etc. That is what i want, but when i start the
application it comes up at the size the user last left access. So it can be
big or small.
Question 1: I would like to determine the size of the accesswindow with
these property settings and in the on-open event of the form i want to resize
the accesswindow itself.
Question 2: how to prevent the user from resizing the access main window?

Can anyone help me?



The only way I know is to set the screen to max size on the Open event with
this code:

DoCmd.Maximize

this doesnt stop the user from resizing it but it will make it open in max
view evertime you open the form.

--
Message posted via http://www.accessmonster.com
  #3  
Old February 24th, 2006, 03:23 PM posted to microsoft.public.access.forms
external usenet poster
 
Posts: n/a
Default Size of the access window

Thanks for yourreply, but maximizing is not what i am looking for..

"StevenR via AccessMonster.com" wrote:

Rli wrote:
Hi all,
I have a question about sizing the access window itself from vb-code.
I have a form that automatically comes up at start up.
Its properties are
Scroll bars: neither
Auto resize: Yes
Auto Center:Yes
Border style:none
Control box: none
Width: 22,296cm (is there no Height property?)
Pop up:no
Modal:yes
With these settings the form fills the 'upper' access window without any
subwindow or scrollbars etc. That is what i want, but when i start the
application it comes up at the size the user last left access. So it can be
big or small.
Question 1: I would like to determine the size of the accesswindow with
these property settings and in the on-open event of the form i want to resize
the accesswindow itself.
Question 2: how to prevent the user from resizing the access main window?

Can anyone help me?



The only way I know is to set the screen to max size on the Open event with
this code:

DoCmd.Maximize

this doesnt stop the user from resizing it but it will make it open in max
view evertime you open the form.

--
Message posted via http://www.accessmonster.com

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Advice needed: Should we upgrade MS Access 2000? And if so to what? ship General Discussion 43 November 30th, 2005 10:58 PM
2002 vs 2003 Patrick Stubbin General Discussion 2 May 17th, 2005 07:27 AM
Why is a French Spellchecker a "required" update for English speak French Spellcheck Required? General Discussion 23 April 26th, 2005 01:17 AM
Database Window Gone DaveB General Discussion 2 July 29th, 2004 12:24 AM
Size of Excel file Access db exports to. Tasha General Discussion 2 June 5th, 2004 01:48 PM


All times are GMT +1. The time now is 04:53 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.