ACC97: Setting Default Control Properties in Visual BasicLast reviewed: August 29, 1997Article ID: Q167065 |
The information in this article applies to:
SUMMARYAdvanced: Requires expert coding, interoperability, and multiuser skills. This article demonstrates how to use Visual Basic for Applications to set properties for default controls on forms and reports. This article assumes that you are familiar with Visual Basic for Applications and with creating Microsoft Access applications using the programming tools provided with Microsoft Access. For more information about Visual Basic for Applications, please refer to your version of the "Building Applications with Microsoft Access" manual.
MORE INFORMATIONIn order to set properties for default controls, you must use the form's DefaultControl method. Note that although you can use this method to set properties for default controls, not all of a control's properties are available as default properties. The following properties only apply to default controls and cannot be set for a control that has already been placed on the form or report:
REFERENCESFor more information about using Visual Basic for Applications to set the properties for default controls, search the Help Index for "DefaultControl method". Keywords : kbprg PgmHowTo FmrHowTo Version : 97 Platform : WINDOWS Hardware : x86 Issue type : kbhowto |
================================================================================
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |