The information in this article applies to:
SYMPTOMSActiveX control property changes entered via a property page are not saved. However, if you enter the properties via the standard property pane that comes with Visual Basic, the changes are saved. CAUSEThe UserControl needs to explicitly inform the host development environment of any property changes that are made via property pages or are side effects of other property changes. RESOLUTIONTo tell the host development environment of property changes, the UserControl must invoke the PropertyChanged method of the Extender object. STATUSThis behavior is by design. MORE INFORMATION
When entering properties via the standard property pane, the host
application is setting the properties for your control and, therefore,
knows they have been changed.
------ in the user control ------
This code assumes that you have all other supporting code working, such as
the InitProperties, ReadProperties, and WriteProperties events.
REFERENCES
Microsoft Visual Basic Online Help, PropertyChanged Method Additional query words: kbVBp500 kbVBp600 kbdse kbDSupport kbVBp VBCCE kbActiveX
Keywords : kbGrpVBDB |
Last Reviewed: January 5, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |