Screen Size

message from Tom Conroy on 14 May 2004
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.
 
Ron Hughes replied to Tom Conroy on 14 May 2004
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.
access 2002
size it correctly
 
Tom Conroy replied to Ron Hughes on 17 May 2004
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.

"Ron Hughes" <anonymous@discussions.microsoft.com> wrote in message
news:d69801c43a31$bd9084b0$a501280a@phx.gbl...
 

Archived message: Screen Size (Microsoft Access Forms)