ACC: How to Programmatically Change a Control Type (135381)
The information in this article applies to:
- Microsoft Access for Windows 95 7.0
- Microsoft Access 97
This article was previously published under Q135381
Moderate: Requires basic macro, coding, and interoperability skills.
SUMMARY
This article shows you how to programmatically change a control on
a form from one type to another. By using the ControlType property in a
Visual Basic for Applications procedure, you can change a text box into a
combo box, a toggle button into an option button, and so on.
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.
REFERENCES
For more information about the ControlType property, search the Help Index
for ControlType.
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbhowto kbProgramming KB135381 |
---|
|