Full Version: Window Height
UtterAccess Discussion Forums > Microsoft® Access > Access Forms
wyatt89815
What code should I use to set a continuous form window height?

I know the code
MsgBox Forms.Item("Switchboard").WindowHeight

that code shows the window height number such as "2745", but how do I set the height number so no matter what you resize the height to when designing it, on open it opens to the preset height each time. Thanks in advance
Alan_G
Hi

Look in the help files for the MoveSize method.......

HTH

Alan
Aquadevel
Why not just use

Docmd.Maximize for each window/form ?

Just wondering,

Aqua
wyatt89815
I was already using the movesize method to resize the windows. I hadn't realize the second two fields to set the location. Thanks worked great.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.