PRB: "Hash Marks" on ActiveX Controls After Run-Time ErrorLast reviewed: March 21, 1997Article ID: Q161305 |
The information in this article applies to:
SYMPTOMSAfter receiving an error message, all instances of the ActiveX control are disabled and drawn with "hash marks."
CAUSEThis behavior occurs after an unhandled error in event code.
RESOLUTIONThe conditions listed below must be met to avoid this problem:
STATUSThis behavior is by design.
MORE INFORMATIONUnhandled errors in event procedures are fatal to your control component's operation and the application using it because there is no procedure on the call stack to handle the error. It is safe to raise errors in property procedures and methods, however, because properties and methods are always invoked by other procedures and errors you raise can be handled by the user in those procedures.
Steps to Reproduce Behavior
REFERENCESMicrosoft Visual Basic User's Guide, Chapter 9, Building ActiveX Controls, Creating Robust Controls. (c) Microsoft Corporation 1996, All Rights Reserved. Contributions by Malcolm Stewart, Microsoft Corporation
|
Additional query words: OCX component constituent hash hatch
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |