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  

Keeping forms maximized



 
 
Thread Tools Display Modes
  #1  
Old December 14th, 2005, 07:54 PM posted to microsoft.public.access.forms
external usenet poster
 
Posts: n/a
Default Keeping forms maximized

I have a database with multiple forms. When the startup form is loaded
I use VBA code to maximize the forms as follows

DoCmd.Maximize

This works and makes the start up form maximized. However when I open a
different form or run a report, the startup form is resized when I
return to it. Is there a way to force all forms/reports to run in a
maximized state at all times?

  #2  
Old December 14th, 2005, 09:02 PM posted to microsoft.public.access.forms
external usenet poster
 
Posts: n/a
Default Keeping forms maximized

You could use the on focus. To max the form everytime focus is placed
on it.

  #3  
Old December 15th, 2005, 12:26 AM posted to microsoft.public.access.forms
external usenet poster
 
Posts: n/a
Default Keeping forms maximized

include

docmd.maximise in every opneform event for every form
--
Regards


Patrick Stubbin


" wrote:

I have a database with multiple forms. When the startup form is loaded
I use VBA code to maximize the forms as follows

DoCmd.Maximize

This works and makes the start up form maximized. However when I open a
different form or run a report, the startup form is resized when I
return to it. Is there a way to force all forms/reports to run in a
maximized state at all times?


  #4  
Old December 15th, 2005, 04:36 PM posted to microsoft.public.access.forms
external usenet poster
 
Posts: n/a
Default Keeping forms maximized

I have the same question! I have set the onFocus event for the switchboard
form to:
doCMd.Maximize
but, if I open another form, then click restore, then, the switchboard form
is also restored. Ugg. Why does restoring one form, effect other forms?

Ok, so, I went in and added the same command to OnCurrent, and GotFocus,
but, it is as if the code is being ignored (or suppressed) because the
doCmd.Maximize simply doesn't maximize the switchboard.

Can anyone clarify why this doesn't work? Am I missing some larger concept?

Thanks!
Bernadou

" wrote:

I have a database with multiple forms. When the startup form is loaded
I use VBA code to maximize the forms as follows

DoCmd.Maximize

This works and makes the start up form maximized. However when I open a
different form or run a report, the startup form is resized when I
return to it. Is there a way to force all forms/reports to run in a
maximized state at all times?


 




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
Problems when closing forms Uros General Discussion 1 October 21st, 2005 10:59 AM
Show a restored dialog form and let the other forms maximized Warrio Using Forms 2 October 11th, 2005 01:15 PM
Can't keep form maximized Access Idiot Using Forms 2 August 31st, 2005 06:01 PM
General question about naming conventions for forms Mister John Doe Using Forms 1 January 6th, 2005 01:31 AM
Menubar listing open forms? Harmannus Using Forms 0 December 23rd, 2004 12:33 AM


All times are GMT +1. The time now is 09:29 AM.


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