ACC2000: How to Get the Right and Down Measurements of a Form (210141)
The information in this article applies to:
This article was previously published under Q210141 Advanced: Requires expert coding, interoperability, and multiuser skills.
This article applies to a Microsoft Access database (.mdb) and to a Microsoft Access project (.adp).
SUMMARY
This article shows you how to create a Visual Basic for Applications Sub
procedure called GetFormDimensions to get a form window's right and down
measurements so that you can use them in the MoveSize macro action. This
article also demonstrates how to position a form immediately below or to
the right of a second form.
NOTE: This article explains a technique demonstrated in the sample
file, FrmSmp00.mdb. For information about how to obtain this sample file,
please see the following article in the Microsoft Knowledge Base:
233324 ACC2000: Microsoft Access 2000 Sample Forms Database Available in Download Center
Microsoft provides programming examples for illustration only, without warranty either expressed or implied. This includes, but is not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and with the tools that are used to create and to debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific requirements. REFERENCESFor more information about the WindowHeight and WindowWidth properties, click Microsoft Access Help on the Help menu, type "WindowHeight" or "WindowWidth" in the Office Assistant or the Answer Wizard, and then click Search to view the topic.
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbdta kbinfo kbofficeprog kbProgramming KB210141 |
---|
|