BUG: List Box Does Not Display in FoxPro for MS-DOS

Last reviewed: October 25, 1995
Article ID: Q138474
The information in this article applies to:
  • Microsoft FoxPro for MS-DOS, version 2.6a

SYMPTOMS

If a Desktop screen holds a list box and a command button that shells to MS- DOS returns to the screen, the list box will not appear until the screen is exited.

WORKAROUND

Change the screen type from Desktop to Window in Screen Layout area (on the Screen menu, click Screen Layout).

STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

Steps to Reproduce Problem

  1. In the Command window, type each of these commands:

    USE TUTORIAL\CUSTOMER. CREATE SCREEN LISTTEST

  2. On the Screen menu, click List. Then click Prompt Field, and type CNO. Type Junk as the variable name.

  3. In the Valid event for the list box, type:

    SHOW GETS

  4. Click OK to return to the form. Size the list box as needed.

  5. On the Screen menu, click Field. Then click SAY, and choose the Customer.Company field. Select the Refresh check box. Click OK.

  6. On the Screen menu, click Push Button. Type in prompts of MS-DOS and Quit for the two options needed. Choose SELCHOICE as the variable.

  7. In the Valid event for the push buttons, type:

    DO CASE

         CASE SELCHOICE = 1
    
            CLEAR
            RUN COMMAND
            CLEAR
            SHOW GETS
         CASE SELCHOICE = 2
            CLEAR READ
       ENDCASE
       SHOW GETS
    
    

  8. Run the screen, and click the MS-DOS button. Type EXIT at the MS-DOS prompt, and note that the list box is now hidden.

  9. Click the Quit Button to close the screen. Change the screen type to Window. Run the screen, and click the MS-DOS button. Type EXIT at the MS-DOS prompt, and note that the list box is now visible.


Additional reference words: 2.60a FoxDos buglist2.60a refresh update
KBCategory: kbtool kbbuglist
KBSubcategory: FxtoolSbuilder


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: October 25, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.