The information in this article applies to:
SYMPTOMSWhen changing properties of a custom ActiveX control via a custom property page, the Apply button is never enabled. CAUSEThe Changed property is not being set from the property page code. RESOLUTIONIn the property page code, add the line:
to all code that changes UserControl properties.
STATUSThis behavior is by design. MORE INFORMATION
The Visual Basic IDE or run-time system controls the state of the Apply
Button on your custom property pages. In order to tell Visual Basic that
the user has edited one or more properties on a property page, you must
set the PropertyPage object's Changed property to True. Because there is
no way to know which property a user might decide to change, you must do
this for every property displayed on the page.
This process can be simplified by using the Property Page Wizard from the
Visual Basic Add-Ins menu.
REFERENCES
Microsoft Visual Basic Online Help, Changed Property. Additional query words: kbVBp500 kbVBp600 kbdse kbDSupport kbVBp kbAddIN kbIDE
Keywords : kbGrpVBDB |
Last Reviewed: February 2, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |