FIX: Exiting ON SHUTDOWN Window Disables GET ObjectsID: Q124348 2.50a 2.50b 2.60 2.60a 3.00 WINDOWS kbprg kbbuglist kbfixlist The information in this article applies to:
SYMPTOMSIf an ON SHUTDOWN procedure calls a window that is then exited, the mouse can only access the current GET object in the READ that was active when the ON SHUTDOWN procedure was called.
CAUSEControl is not passed from the ON SHUTDOWN procedure back to the previous READ level if the RELEASE WINDOW command is used.
WORKAROUNDReplace the "RELEASE WINDOW window1" command with the "DEACTIVATE WINDOW window1" command to send control back to the previous screen.
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.
MORE INFORMATION
Steps to Reproduce Problem1. Create a program containing the following commands, and run it:
2. Press ALT+F4 to invoke ON SHUTDOWN.
3. Press a key other than q to exit the ON SHUTDOWN window. The mouse will The RELEASE WINDOW <windowname> command does not release the window. This
can be verified by going into the Window menu and seeing Window1 even after
the RELEASE WINDOW command has been executed. However, the RELEASE WINDOW
command releases the window correctly if executed outside the ON SHUTDOWN
procedure.
Using DEACTIVATE WINDOW <windowname> in place of RELEASE WINDOW allows the GETS to work as expected. KBCategory: kbprg kbbuglist kbfixlist KBSubcategory: FxprgGeneral KBQ fixlist5.00 VFoxWin FoxWin buglist2.60a Additional reference words: 3.00 2.50a 2.50b 2.60 2.60a
|
Last Reviewed: September 25, 1997 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |