FIX: Toolbar Events Fire Differently When Using Dock MethodLast reviewed: February 20, 1997Article ID: Q141425 |
The information in this article applies to:
SYMPTOMSThe BeforeDock, Undock, and AfterDock events are not triggered in the same order when a toolbar is docked interactively versus when a toolbar is docked under program control. When the dock position of a toolbar is changed interactively, the events fire in the following order:
BeforeDock, AfterDockWhen the dock position of a toolbar is changed under program control with the Dock method, the events fire in the following order:
BeforeDock, Undock, BeforeDock, AfterDock STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. This problem has been fixed in Visual FoxPro 5.0 for Windows.
WORKAROUNDThere is no way to prevent the events from occurring, or to trigger the events under program control. However, if you have code for the BeforeDock and Undock methods and do not want to call it when the Dock method is executed, follow these steps:
MORE INFORMATION
Steps to Reproduce Problem
|
KBCategory: kbtool kbbuglist kbfixlist
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |