Microsoft KB Archive/113277

= BUG: Popup Not Cleared in FoxPro for Windows =

Article ID: 113277

Article Last Modified on 10/16/2002

-

APPLIES TO


 * Microsoft Visual FoxPro 3.0 Standard Edition
 * Microsoft Visual FoxPro 5.0 Standard Edition
 * Microsoft Visual FoxPro 5.0a
 * Microsoft Visual FoxPro 6.0 Professional Edition
 * Microsoft FoxPro 2.5b
 * Microsoft FoxPro 2.5a
 * Microsoft FoxPro 2.5b
 * Microsoft FoxPro 2.6 Standard Edition

-



This article was previously published under Q113277



SUMMARY
In FoxPro 2.6 for MS-DOS and in dBASE, the CLEAR command will clear (hide) a popup. However, in FoxPro for Windows, the CLEAR command does not clear the popup.



RESOLUTION
See "Workaround" in the "More Information" section below.



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.



Steps to Reproduce Problem
 Start FoxPro for Windows.  Type the following in the Command window and press ENTER: MODIFY COMMAND test   Enter the following code in the TEST.PRG window: SET COMPATIBLE TO DB4 DEFINE POPUP x FROM 10,10 DEFINE BAR 1 OF x PROMPT "Hello" DEFINE BAR 2 OF x PROMPT "Bye" ON SELECTION POPUP x DO myx ACTIVATE POPUP x     RELEASE POPUP x

PROCEDURE myx CLEAR *HIDE POPUP x  && remove asterisk from this line to correct the *problem WAIT WINDOW "Cleared"  Press CTRL+W to save TEST.PRG.  In the Command window type: DO TEST.PRG </ol>

Note that the POPUP is not cleared when you press the ENTER key or the SPACEBAR.

<div class="workaround_section">

WORKAROUND
Remove the asterisk from the line that reads "*HIDE POPUP X". The line should now read as follows:

HIDE POPUP x

Additional query words: pop-up disappear kbFP250 kbFP260 kbvfp300 kbvfp500 kbvfp600

Keywords: kbbug KB113277

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.