BUG: SET MARK OF BAR Character Disappears When Scrolling

Last reviewed: April 30, 1996
Article ID: Q121240
The information in this article applies to:
  • Microsoft FoxPro for Windows, versions 2.5x, 2.6, 2.6a
  • Microsoft FoxPro for Macintosh, versions 2.5x, 2.6a

SYMPTOMS

Under certain circumstances, when a mark is set for a given popup bar, scrolling within the popup will cause any marked bars to lose their mark character.

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

NOTE: This article does not apply to Visual FoxPro 3.0 for Windows.

Steps to Reproduce Problem

  1. In the Screen Builder, build a small screen. From the Screen menu, choose Layout, and define the width as 305 and the height as 305. In the Name box, type "CCN_SELE" (without the quotation marks).

  2. Under Options, choose the Code button, and then choose the Screen Setup Code button, and enter the following code:

    #NOREAD && READ MODAL will be issued elsewhere

    CLOSE DATABASES SELECT 1 USE SYS(2004)+"TUTORIAL\Customer" IN 1 GO TOP

  3. Choose the Cleanup And Procedures button and enter the following code:

    DEFINE POPUP ccnsele MARGIN SCROLL CUR_BAR = 1 FOR j = 1 TO 20

         DEFINE BAR j OF ccnsele PROMPT Company
         SKIP 1
    
    ENDFOR

       ON KEY LABEL F12 ON KEY          && In case of trouble hit F12
       ON KEY LABEL spacebar SET MARK OF BAR cur_bar OF "ccnsele" TO ;
       !MRKBAR("ccnsele",cur_bar)
    
       @ 0,0 GET cur_bar PICTURE "@&T" POPUP  ccnsele SIZE 20,50 DEFAULT " "
       READ MODAL
    
       * Clean up environment
       ON KEY
       CLEAR WINDOW ccn_sele
       SELECT customer
       USE
    
    

  4. Close the code snippet and choose Save As from the File menu. Name the screen CCNSELE.

  5. From the Program menu, choose Generate, and then type "DO ccnsele.spr" in the Command window.

You should be able to mark the items that are displayed in the list by pressing the spacebar. However, scrolling down the list should eventually clear the check marks that were established for the bars.


Additional reference words: FoxMac FoxWin buglist2.50 buglist2.50a
buglist2.50b buglist2.50c buglist2.60 buglist2.60a 2.50 2.50a 2.50b 2.50c
2.60 2.60a Set mark of bar popup checkmark option
KBCategory: kbother 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: April 30, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.