PRB: MoveSize Action Affects Wrong WindowArticle ID: Q109822Creation Date: 10-JAN-1994 Revision Date: 01-DEC-1996
The information in this article applies to:
SYMPTOMS
Moderate: Requires basic macro, coding, and interoperability skills.
The MoveSize macro action does not move a form opened by an OpenForm
macro action within the same macro if the Window Mode argument is set to
Dialog. Instead, the MoveSize action waits until the form is closed and
then affects the window that is subsequently selected.
RESOLUTION
When you set the Window Mode of the OpenForm action to Dialog, it makes
your form modal and pop-up; macro execution pauses until you close the
form. Instead of using the Dialog Window Mode to open the form, set your
form's Modal and PopUp properties to Yes, and then open the form with a
Window Mode argument of Normal. The MoveSize action correctly moves and
sizes forms opened in this manner.
MORE INFORMATION
Steps to Reproduce Behavior
|
THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.