PRB: Form Not Released When Focus on Grid and Modal Form StartedLast reviewed: January 5, 1998Article ID: Q178666 |
The information in this article applies to:
SYMPTOMSA form, on which a grid has focus, remains visible after the form has been programmatically released and a modal form has been instantiated. The form containing the grid remains visible until the modal form has been released.
RESOLUTIONSet the visible property of the form containing the grid to false (.f.) before releasing the form, using the following code:
PROCEDURE closescreens IF _SCREEN.FORMCOUNT > 0 FOR i = _SCREEN.FormCount TO 1 STEP -1 _SCREEN.FORMS(i).VISIBLE=.F. _SCREEN.FORMS(i).RELEASE ENDFOR ENDIF RETURN STATUSMicrosoft is researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATIONThis behavior is not observed when a form, containing a grid object, is programmatically released under the following conditions:
Steps to Reproduce Behavior
Keywords : FxprgClassoop FxprgGrid VFoxMac vfoxwin kbcode Version : MACINTOSH:3.0b;WINDOWS:3.0,3.0b,5.0,5.0a Platform : MACINTOSH WINDOWS Issue type : kbprb |
================================================================================
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |