How To Create a Default Property For a User Control
Article ID: 161208
Article Last Modified on 6/29/2004
APPLIES TO
- Microsoft Visual Basic 5.0 Control Creation Edition
- Microsoft Visual Basic 5.0 Enterprise Edition
- Microsoft Visual Basic 6.0 Enterprise Edition
This article was previously published under Q161208
SUMMARY
You can create a default property for your User Control. A default
property is the property selected when you select the control in design
mode. For example, when you select a Label, the highlighted property is
Caption. Therefore, Caption is the default property for the Label. This
article will explain how to create a default property for a User Control
that you create.
REFERENCES
For additional information, please see the following article in the
Microsoft Knowledge Base:
161156 How to Create a Default Event for a UserControl
Keywords: kbhowto kbctrlcreate kbusage KB161208