Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Forms / July 2007

Tip: Looking for answers? Try searching our database.

How can I keep a maximized form maximized?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Max Moor - 09 Jul 2007 18:19 GMT
Hi All,

       I have a form I want maximized.  I added DoCmd.Maximize to the form
Open event.

       I set the property sheet for no min max buttos, but a minimize button
still shows up next to the close button (which I have to have.

       Is there a majic spell I can use in VB to hide the min button?  Second
to making it go away, can I trap it and stop it from happening?

Thanks,
Max
Maurice - 09 Jul 2007 19:04 GMT
Hi Max,

Are you sure you set the option minimize and maximize to none because if you
did you shouldn't see neither option. Reading your post it looks like you
have opted for only showing the minimize option.
Signature

Maurice Ausum

> Hi All,
>
[quoted text clipped - 9 lines]
> Thanks,
> Max
Max Moor - 10 Jul 2007 01:05 GMT
> Hi Max,
>
> Are you sure you set the option minimize and maximize to none because if
> you did you shouldn't see neither option. Reading your post it looks
> like you have opted for only showing the minimize option.

Sorry, I misspoke.  It's the restore button, next to the close button, I want
to be rid of.  The min and max aren't there (it is set to none).  The restore
lets the user unmaximize the form, though, and I want them to have to leave
it maximized.
Maurice - 10 Jul 2007 19:58 GMT
Hi Max,

I tried simulating your forms setup but I cannot reproduce the restore
button. I set the min/max buttons to none. I don't see a restorebutton
anymore. Or do you mean the icon on the left of the titlebar of the form?
When i click on that one the restore option is greyed out.

So to make it clear for me can you show me what the settings of the form are
concerning the controlbuttons from the titlebar so I can reproduce this and
maybe help you further on this one?
Signature

Maurice Ausum

> > Hi Max,
> >
[quoted text clipped - 6 lines]
> lets the user unmaximize the form, though, and I want them to have to leave
> it maximized.
Max Moor - 12 Jul 2007 05:18 GMT
> So to make it clear for me can you show me what the settings of the form
> are concerning the controlbuttons from the titlebar so I can reproduce
> this and maybe help you further on this one?

Hi Maurice,
       I have:

Border Style        None
Control Box               No
Min Max Buttons        None
Close Button        Yes

       When the form is opened, it maximizes, as it should, but there is a
restore button next to the close button (x).  These are right below the
minimize, restore, and close buttons for Access itself, to the extreme right
on the same line as the menubar (File, Edit, View, etc.).
Maurice - 13 Jul 2007 08:40 GMT
Max,

I simulated what you eaplained and got the same setup. To my knowledge you
can not get rid of the restorebutton when the form is maximized in that
situation. Sorry took so long to get your point.

hth
Signature

Maurice Ausum

> > So to make it clear for me can you show me what the settings of the form
> > are concerning the controlbuttons from the titlebar so I can reproduce
[quoted text clipped - 12 lines]
> minimize, restore, and close buttons for Access itself, to the extreme right
> on the same line as the menubar (File, Edit, View, etc.).
Max Moor - 18 Jul 2007 01:07 GMT
> Max,
>
[quoted text clipped - 3 lines]
>
> hth

No sweat, Maurice.  I appreciate the help in any case.  I've kept looking,
and haven't found a way to do it either.  Oh well.

Max
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.