# FIX: Unable to Scroll Popup Placed at Top of Screen

ID: Q118781

2.5x 2.60a MACINTOSH kbtool kbprg kbfixlist kbbuglist

     The information in this article applies to:

      - Microsoft FoxPro for Macintosh, versions 2.5x, 2.6a

## SYMPTOMS

In FoxPro for Macintosh, a popup list does not display correctly, and items cannot be selected when the popup is near the top of the screen after an item at the bottom of the list has been selected. Items can be selected if the left side of the popup is clicked, but not if the right side of the popup is clicked.

## CAUSE

The popup does not have enough space to completely display all the items in the list when it expands upward.

## RESOLUTION

Place the popup far enough down the screen so that all the selections can be displayed when the bottom item is selected. If this is not possible, clicking the left side of the popup button will allow items to be selected.

## STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. This problem was corrected in Visual FoxPro 3.0b for Macintosh.

## MORE INFORMATION

Listed below are two different approaches to reproducing this problem.

### Steps to Reproduce Problem Using the Screen Builder

1. Create a new screen and choose the Popup tool from the toolbox.

2. Enter seven items in the list box.

3. Place the popup near the top of the screen.

4. From the Program menu, choose Generate. In the Generate Screen dialog

       box, click the Arrange button. The screen should be placed at the top of
       the FoxPro window. (This behavior usually occurs by default.)

5. Run the .SPR file and click the popup. It expands downward. Select the

       bottom item from the popup.

6. Click the popup a second time.

The popup expands upward without displaying all the items. A triangle shows at the top indicating more selections.

If you clicked the right side of the popup (to the right of the middle of the popup triangle), you can't select anything. If you clicked the left side, the popup selection will jump, and you can select other items. If you don't use the mouse and just release the popup, it may show a different selection.

### Steps to Reproduce Problem Programmatically

1. Type the following commands in the Command window:

       DEFINE WINDOW test FROM 1,1 TO 20,20
       ACTIVATE WINDOW test
       @0,1 GET myvar DEFAULT 4 PICTURE "@^ one;two;three;four"
       READ CYCLE

2. Click the arrow portion of the popup. Notice that the popup touches the

       menu bar and has an arrow to scroll up. At this point, the highlight
       cannot be moved. If you click any other area of the popup, you will be
       able to scroll in the popup. Also, if the popup does not reach the menu
       bar and does not show the up arrow to allow upward scrolling, the
       highlight will move as expected.

Additional reference words: FoxMac Sbuilder blank jump 2.50b 2.50c 2.60a fixlist3.00b VFoxMac buglist2.50b buglist2.50c buglist2.60a KBCategory: kbtool kbprg kbfixlist kbbuglist KBSubcategory: FxtoolSbuilder

    Keywords          : FxtoolSbuilder kbbuglist kbfixlist
    Version           : 2.5x 2.60a
    Platform          : MACINTOSH
    Solution Type     : kbfix

Last Reviewed: October 22, 1997 © 1999 Microsoft Corporation. All rights reserved. Terms of Use.