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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Open form hidden, Not visible during Load

Status
Not open for further replies.

markphsd

Programmer
Jun 24, 2002
758
US
I would like to open my form hidden. I don't even want it visible while loading. The answer would be a little bit beyond
docmd.openform "frmName" , , , , , WindowMode:=acHidden.

That just has the form dissapear after it is loaded, however while it is loading it is visible. I would like it invisible the whole time.

Thank you.
 
Make the form a popup.

Make the 1st line of code in the form's Load event:

DoCmd.MoveSize 20000

This will move the form instantly off the biggest PC screen.
 
Why not just set the 'Visible' property of the form to "false" when the form loads?
 
Oh wait, that didn't work. But it also didn't move the forms. The forms were set to pop up, they also maximize on opening; maximizing would counter-act the move. Hmm, any other suggestions?
 
RMOSBY, that works as well as achidden. They go false on the visible only after they load.
 
Okay. I went ahead and changed the time that I maximized the form. It works just as suggested. Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top