How To Create a Default Property For a User Control (161208)
The information in this article applies to:
- Microsoft Visual Basic Control Creation Edition for Windows 5.0
- Microsoft Visual Basic Enterprise Edition for Windows 5.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
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
Modification Type: | Minor | Last Reviewed: | 6/29/2004 |
---|
Keywords: | kbCtrlCreate kbhowto kbusage KB161208 |
---|
|