Article ID: 169772 - Last Review: June 24, 2004 - Revision: 2.0 PRB: VB5 .OCX Property Missing from VB4 Properties WindowThis article was previously published under Q169772 On This PageSYMPTOMS
A public property of an ActiveX Control (.OCX) created in Visual Basic 5.0
or Visual Basic 6.0 does not appear in the Properties Window when the
control is used in Visual Basic 4.0's design environment.
CAUSE
By default, a Public Property Let procedure passes its arguments by
reference and not by value. When these arguments are passed by reference
from an ActiveX Control (.OCX), the property will not be visible in the
Visual Basic 4.0 Properties Window.
RESOLUTION
To resolve this problem, be sure that all arguments passed by a Public
Property Let procedure are passed by value. For example, if you have the
following property procedure definition:
STATUS
This behavior is by design.
MORE INFORMATIONSteps to Reproduce Behavior
APPLIES TO
| Article Translations
|
Back to the top
