PRB: ActiveX Control Click Event Not Firing when Form is ModalLast reviewed: December 18, 1996Article ID: Q161148 |
The information in this article applies to:
SYMPTOMSWhen using ActiveX controls on a modal form in Visual FoxPro 5.0, the Click event does not fire if that form has been called from an ActiveX control on another form. This also applies to Threed controls used on a form in Visual FoxPro 3.0.
RESOLUTIONChange the second form's WindowType to Modeless or call the second form with a standard FoxPro control on the first form.
STATUSMicrosoft is researching this behavior and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATIONWhen adding code to the Click event of an ActiveX or Threed control, normally the code in the Click event fires when that control is clicked regardless if the form is a modeless or modal form. If that form is modal and called from a ActiveX or Threed control on another form, then the code in the Click event of that ActiveX or Threed control does not fire. For the code to fire correctly, the form that is called has to be modeless or the control that calls the form with the ActiveX or Threed control has to be a standard FoxPro control.
Steps to Reproduce BehaviorWhen using Visual FoxPro 3.0, substitute the phrase "Threed control" for "ActiveX control" in the following steps:
|
KBCategory: kbole kbtool kbprb
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |