Control where a linked form appears?

P

plh

I have a form with two linked forms that are activated by command buttons. When
they appear, they are in unfortunate positions that cover part of the main form
in such a way that users always have to move them. Is there some way I can
control where the linked forms appear? I searched this newsgroup but could not
find anything about this, even though it should be a common enough problem.
FIYD,
-plh
 
K

Klatuu

Look in VBA Help for the Top and Left properties of the form. That will
determine the location of the form when it opens.
 
P

plh

Hello Dave,
Thank you for your reply. Perhaps I wasn't clear. I should have said "When
either of the forms appears" rather than "When they appear". The Top and Left
properties do not apply to forms. I am trying to control the initial location of
linked forms shown and hidden by toggle buttons (were command buttons.)
Thank You,
-plh
 
K

Klatuu

Sorry, my answer was not clear. You can use the Move method to position the
form. It has those properties. You can do this in the Load event of the
form.
 
P

plh

Thank you, I'll try it Monday. This is the best group, IMHO. Answers come back
so fast it makes my head spin!
-plh

Sorry, my answer was not clear. You can use the Move method to position the
form. It has those properties. You can do this in the Load event of the
form.
 

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