HOWTO: Display Ellipses Button for a UserControl Property
ID: Q181872
|
The information in this article applies to:
-
Microsoft Visual Basic Learning, Professional, and Enterprise Editions for Windows, version 5.0
SUMMARY
This article illustrates how to create an ellipses button for a property of
a UserControl.
MORE INFORMATION
To show the ellipses button for a property, you can set the appropriate
options in the Procedure Attributes dialog.
The Procedure Attributes dialog box allows you to set a variety of
attributes by clicking the Advanced button. The "Use This Page in Property
Browser" procedure attribute specifies which property page is associated
with a specific property. It is this attribute that tells Visual Basic to
display the ellipses button in the property window. A property page can be
one of the standard property pages like Font or Color or a property page
you create.
To Enable the Ellipses Button of a Property
- Open the UserControl project in Visual Basic.
- From the Tools Menu, click Procedure Attributes. The Procedure
Attributes dialog box appears.
- In the Procedure Attributes dialog box, click Advanced >>. The Procedure
Attributes dialog box expands to display additional attributes.
- In the Procedure ID listbox, select the name of the property.
- In the Use This Page in Property Browser list box, select the property
page to displayed for the property. Click Apply to apply this setting,
then click OK to close the dialog box.
The ellipses button should now appear in the container property page. If
the form hosting the UserControl is still open in your project, it may
be necessary to right-click on the form (in design mode) and select
"Update UserControl" to refresh the property window.
Additional query words:
ocx user control
Keywords : kbVBp500 kbGrpVB kbhowto VBKBAX VBKBObj
Version : WINDOWS:5.0
Platform : WINDOWS
Issue type : kbhowto
|