The information in this article applies to:
SUMMARY
Moderate: Requires basic macro, coding, and interoperability skills.
MORE INFORMATIONglrScaleForm()The glrScaleForm() function can be called from the Open event of your form to automatically scale the form to the current screen resolution.
glrResizeForm()The glrResizeForm() function can be called from the Resize event of your form to automatically move and resize the contents proportionally to fit within the new form window size.
How To Obtain The glrScaleForm And glrResizeForm FunctionsThe glrScaleForm() and glrResizeForm() functions, written by Ken Getz, are published in the following book:
Discussion of these function begins on page 506, chapter 8, "Screen Resolution and Distributing Forms." The functions are included in the file _Glrfile.exe on the accompanying companion disk. This self-extracting, compressed file contains the file _Chapter.exe, another self-extracting, compressed file, which contains the database CH8.mdb. The form frmTest1280x1024 in CH8.mdb demonstrates the use of these functions. Check the "Enable Automatic Resizing?" check box in the upper-left corner of the form frmTest1280x1024, and then resize the form window to see the glrResizeForm() function work. These functions were originally published with a column in Smart Access magazine.
Smart Access, published monthly, is a newsletter aimed at Microsoft Access developers. It is published by Pinnacle Publishing.
The products discussed here are manufactured by vendors independent of Microsoft; we make no warranty, implied or otherwise, regarding these products' performance or reliability. Additional query words:
Keywords : kb3rdparty FmsHowto |
Last Reviewed: June 14, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |