Contents of GETANS.TXT in GOODIES\FNDATION

Last reviewed: April 30, 1996
Article ID: Q108174
The information in this article applies to:
  • Microsoft FoxPro for Windows, versions 2.5, 2.5a, 2.5b
  • Microsoft FoxPro for MS-DOS, versions 2.5, 2.5a, 2.5b

SUMMARY

Below is the complete GETANS.TXT file found in the GOODIES\FNDATION subdirectory.

NOTE: This file answers eight questions asked in the GETLESS.TXT file about the EX1.APP application and how it implements a foundation READ. Both the EX1.APP and GETLESS.TXT files are located in the GOODIES\FNDATION subdirectory.

MORE INFORMATION

Answers to READ/Window/Menu Quiz

  1. You would add one READ level each time you selected an application from the menu and, therefore, would get 'Too many READs in effect." in short order.

  2. Because the procedure 'menuhit' is contained within EX1.MPR which is not part of EX1.PRG.

  3. It's found in function 'stopread' which is evaluated each time an application window is DEACTIVATEd.

  4. There are at most three READs active: the foundation READ, one of the application READs, and a READ MODAL associated with either 'browser' or
       'finder'.
    
    

  5. The procedure named 'efface', which is called in the cleanup code for each application screen, ensures that when the last application window is closed the control panel is released.

  6. The application READ has been terminated because its DEACTIVATE clause has returned .T. but the foundation READ remains active.

  7. The foundation READ is still active.

  8. The first application's DEACTIVATE clause returns .T. and, thereby, terminates that application READ. Termination of the application READ triggers the foundation READ's VALID clause. This routine, called
       'myhandler', notes that WONTOP() is a new application READ then proceeds
       to execute the .SPR associated with that window.
    


Additional reference words: FoxDos FoxWin 2.50 2.50a 2.50b
KBCategory: kbreadme
KBSubcategory: FxtoolGeneral


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: April 30, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.