BUG: List Box Does Not Display in FoxPro for MS-DOSID: Q138474 The information in this article applies to:
SYMPTOMSIf 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. WORKAROUNDChange the screen type from Desktop to Window in Screen Layout area (on the Screen menu, click Screen Layout). STATUSMicrosoft 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 INFORMATIONSteps to Reproduce Problem1. 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 |
Last Reviewed: October 25, 1995 |