Switchboard

A

AFKAFB

Hi

I've saved a splashscreen which opens in the centre of the screen when
the DB is opened. It has a close button which activates the main
switchboard.

In design mode the switchboard looks as if it should also open in the
centre of the screen but when activated by the splashscreen the form
maximises to fill the full page.

How do I get it to only open to its size as specified per its design
mode which is width 25cm & height 16cm.

regards

chris
 
B

BabyATX13 via AccessMonster.com

You could create a macro (in design view) and tell it where you want the form
positioned on the screen (MoveSize) and then (Restore)

Example:
Name of Macro = Resize
MoveSize
Right 2
Down 1
Width 2
Height 3
Restore

Hopefully this helps
KB
 
K

Klatuu

I would not suggest a macro. This would typically go in the Open event of
the form. To return it to design mode size, DoCmd.Restore
 
A

AFKAFB

Hi
Some of the forms have macros as load events. I've tried adding the
command.restore to the macro but ir does not accept it.
any ideas
chris
 
K

Klatuu

Yes, convert the macro to code, put it in the load event and add the
DoCmd.Restore line to it.
 
W

Wolfgang Kais

"AFKAFB"

AFKAFB said:
I've saved a splashscreen which opens in the centre of the screen
when the DB is opened. It has a close button which activates the
main switchboard.

In design mode the switchboard looks as if it should also open in
the centre of the screen but when activated by the splashscreen
the form maximises to fill the full page.

How do I get it to only open to its size as specified per its design
mode which is width 25cm & height 16cm.

There must be a DoCmd.Maximize, either in the buttons procedure
or maybe in the switchboard's open eventprocedure. Delete it.
 

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

Top