How To Add a Custom Font Property to a User Control (197127)
The information in this article applies to:
- Microsoft Visual Basic Learning Edition for Windows 5.0
- Microsoft Visual Basic Learning Edition for Windows 6.0
- Microsoft Visual Basic Professional Edition for Windows 5.0
- Microsoft Visual Basic Professional Edition for Windows 6.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 Q197127 SUMMARY
When you create a user control, you can add a custom property page that
allows the user to set some or all of the properties you have created. This
article describes a sample that demonstrates how to create a custom font
property so that you can filter which fonts the user can select. It uses a
custom property page from which you call the Font common dialog box so that
it allows your users to select only from fixed pitch fonts.
REFERENCES
Visual Basic Help, version 6.0; search on: ProperyPage Object
Modification Type: | Minor | Last Reviewed: | 3/7/2005 |
---|
Keywords: | kbAPI kbCtrlCreate kbhowto kbPropSheet KB197127 |
---|
|