Resize form using Onopen event....

L

Louis

How do I get a form that opens in datasheet view not to maximize on open?
Can I get it to open a particular size?
 
M

Marshall Barton

Louis said:
How do I get a form that opens in datasheet view not to maximize on open?
Can I get it to open a particular size?


Access is a Windows MDI program. So, if one item is
maximized, all items are maximized. A couple of exceptions
are the objects that are opened outside the Access window
such as Popup and Dialog forms/reports. Another subtle
exception is that a form with its MinMax Property set to No
can not be minimized or maximized.

You can use the MoveSize method to position or size a form.
The Minimize, Maximize and Restore methods may be relevevant
to your question. There are also various form properties
(InsideHeight, WindowLeft, etc) that can affect the positipn
and size.

You should be able to figure out something somewhere in all
that stuff.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top