Microsoft KB Archive/108174

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 10:21, 20 July 2020 by X010 (talk | contribs) (Text replacement - """ to """)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Contents of GETANS.TXT in GOODIES\FNDATION

ID: Q108174

2.50 2.50a 2.50b | 2.50 2.50a 2.50b

WINDOWS          | MS-DOS

kbreadme 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

Keywords          : FxtoolGeneral 
Version           : 2.50 2.50a 2.50b | 2.50 2.50a 2.
Platform          : MS-DOS WINDOWS

Last Reviewed: May 1, 1996
© 1999 Microsoft Corporation. All rights reserved. Terms of Use.