BUG: SET MARK OF BAR Character Disappears When Scrolling

ID: Q121240

2.5x 2.6x | 2.5x 2.60a

WINDOWS   | MACINTOSH
kbother kbbuglist

The information in this article applies to:

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

Keywords          : FxtoolSbuilder kbbuglist
Version           : 2.5x 2.6x | 2.5x 2.60a
Platform          : MACINTOSH WINDOWS

Last Reviewed: May 2, 1996