Screen Size

T

Tom Conroy

I would like to be able to control the window size of my access 2002
application programatically. Is there a way to do this?

I am writing an app for a tablet PC, but would like to size it correctly
while I am working on it with my workstation.
 
R

Ron Hughes

Try this:
On the opening form, go to design view. There should be a
small black box in the top left corner. Right Mouse click
it. Chose Build Event and then Code ?. A page will pop
up allowing you to enter code. At the cursur, enter the
following without the quotation marks. "DoCmd.Maximize".

That should do it.
 
T

Tom Conroy

What I need to be able to do is set the window to a perdetermined size in
pixels. eg. Set it to 768 x 990

Anyone know a way of doing that?

I was hoping for something like.

Application.window.width = 768

but there doesn't appear to be any setting like that.
 
Top