Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can I prevent a form from being moved?

Status
Not open for further replies.

beverlee

Instructor
Joined
Oct 8, 2002
Messages
61
Location
US
I have a form that has other forms open behind it working in the background. I don't want the users to get to the hidden forms. I have set the Modal property of the main form to Yes so that they can't bring the other forms to the front from the task bar, but is there a way to prevent them from moving the main form on the screen and revealing the 'hidden forms'?
 
Open the main form up as acDialog
DoCmd.OpenForm "MainForm", , , , , acDialog
 
You just have to open the other forms as achidden when you open them
DoCmd.Openform "FormHidden1",,,,,acHidden


jul ^_^
"Computer Science is no more about computers than astronomy is about telescopes"
E. W. Dijkstra.
 
Bringing the form up in hidden mode did the trick! Thanks so much!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top