# BUG: WHEN Clause Not Called from @ ... GET POPUP

ID: Q103686

The information in this article applies to:

- Microsoft FoxPro for Windows, version 2.5a

## SYMPTOMS

The WHEN clause is not being called as it should be on subsequent selections of a mover pop-up.

## STATUS

Microsoft has confirmed this to be a problem in FoxPro version 2.5a for Windows. 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. Run the following program:

          DEFINE POPUP testmove MOVE MARGIN

          FOR cnt = 1 to 10
             DEFINE BAR cnt OF testmove PROMPT "test" + LTRIM(STR(cnt))
          ENDFOR

          @ 2,2 GET x DEFAULT 1 POPUP testmove WHEN hello()
          READ

          FUNCTION hello
          WAIT WIND PROMPT()

2. Click and move the selected option on the popup ("test1").

The WHEN clause is not called.

Additional reference words: FoxWin 2.50a buglist2.50a mover popup when KBCategory: kbprg kbbuglist KBSubcategory: FxprgGeneral

Last Reviewed: June 27, 1995 © 1999 Microsoft Corporation. All rights reserved. Terms of Use.