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 / September 2005

Tip: Looking for answers? Try searching our database.

Making a form "uncloseable"

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ricky - 09 Sep 2005 21:48 GMT
i would like to make a form that can not be closed or minimised.

BUT the form will be maximised to full screen. so even when i set the MinMax
Buutons to None the restore button is still visible and can used to minimise
the form.

what i am using the form to do is to have a password box where the user must
enter the password to gain access to the system. at the moment, they can
minimise the form and use the system anyway. and when i have set up the
startup properites (tools startup and unchecked ALL of the boxes) the user
can still go File>Close and close that form.

Anyhelp on how to do this will be excellent, do u need to use a modal window
or something... i dont have a clue about them.

thanks a lot in advance

ricky
Douglas J. Steele - 09 Sep 2005 22:37 GMT
You can put code in the form's Unload event to check whether they've met
whatever condition(s) is/are necessary to be able to close the form. If they
haven't, set Cancel=True, and they won't be able to close the form.

Signature

Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)

>i would like to make a form that can not be closed or minimised.
>
[quoted text clipped - 18 lines]
>
> ricky
 
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



©2008 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.