Control where a linked form appears?

  • Thread starter Thread starter plh
  • Start date Start date
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
 
Look in VBA Help for the Top and Left properties of the form. That will
determine the location of the form when it opens.
 
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
 
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.
 
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.
 
Back
Top