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. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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 | |
|
|
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 |