PRB: ActiveX Control Cannot Assign Run-Time Read-Only PropertyLast reviewed: November 24, 1997Article ID: Q177094 |
The information in this article applies to:
SYMPTOMSWhen your Usercontrol attempts to expose a run-time read-only property of a constituent control, you get the following error:
Compile Error: Can't Assign to Read-Only Property CAUSEThe run-time read-only properties of constituent controls cannot be exposed. Because properties of the UserControl object and constituent controls are exposed by delegation, you cannot expose design-time-only properties such as Appearance and ClipControls. The settings you choose for such properties will be fixed for your ActiveX control.
STATUSThis behavior is by design.
MORE INFORMATION
Steps to Reproduce Behavior
REFERENCES"Exposing Properties of Constituent Controls", Books Online Keywords : vb5all VBKBAX VBKBComp VBKBCtrl kberrmsg Version : WINDOWS:5.0 Platform : WINDOWS Issue type : kbprb Solution Type : kbwontfix |
================================================================================
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |