PRB: Some OLE Control Events Do Not Fire in Visual FoxPro 3.0b (143303)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 3.0b
This article was previously published under Q143303 SYMPTOMS
Under certain circumstances, user code attached to events of OLE Controls
may not execute. In particular, if you click a control while user code of
another control is running, the OLE control seems to get the focus.
However, the user code associated with the Click event is not called. This
article explains why this behavior may happen.
CAUSE
Visual FoxPro regularly calls the Windows API PeekMessage to handle
function keys and ON KEY LABEL. Calling PeekMessage yields Visual FoxPro
processing and allows the OLE control to trigger the event. However, the
firing of the event fails, and this behavior is not handled by the OLE
control.
STATUS
This behavior is by design.
Modification Type: | Major | Last Reviewed: | 9/30/2003 |
---|
Keywords: | KB143303 |
---|
|