ID: Q128556
2.50 2.50a 2.50b 2.60 WINDOWS kbdisplay kbprg kbprb
The information in this article applies to:
Creating a Partitioned Browse with a Change command displays differently in FoxPro for Windows and Macintosh than it does in FoxPro for MS-DOS.
Creating a Browse with a partition that has the left side in normal browse mode and the right side in the edit or change mode will not always display all the desired fields for editing the selected record. This behavior is especially prevalent if the first field on the browse side is locked. When you press the arrow key to move down though the records, the edit side of the Browse displays part of the current record and part of the previous record. This behavior is different from the behavior on the MS-DOS platform.
Use one of the following workarounds:
ON KEY LABEL dnarrow DO dwn
PROCEDURE dwn
SKIP
BROWSE WINDOW test PARTITION 10 LPARTITION LOCK 1 REDIT
RETURN
NOTE: This causes a noticeable flash of the Browse screen that may be objectionable.
-or-
ON KEY LABEL dnarrow DO dwn
PROCEDURE dwn
SKIP
KEYBOARD '{leftarrow}'
KEYBOARD '{rightarrow}'
RETURN
NOTE: This also causes the browse screen to change, but it is not as noticeable as in the previous workaround.
This behavior is by design.
For more information about similar behavior with a grid under Visual FoxPro for Windows, please see the following article in the Microsoft Knowledge Base:
ARTICLE-ID: Q148685
TITLE : PRB: Changing Partition Formatting Causes Grid to Jump
Around
On the Windows or Macintosh platforms, do the following steps:
1. With the USE command, open the Invoices table in the Tutorial
subdirectory or folder.
2. In the Command window, type:
DEFINE WINDOW test FROM 1,1 TO 12,40
3. In the Command window, type:
BROWSE WINDOW test PARTITION 10 LPARTITION LOCK 1 REDIT
4. Press the DOWN ARROW key. Notice that the edit side of the browse (the
right side) shows only the first field of the current record at the
bottom while the upper rows display the fields of the previous record.
5. Repeat steps 1 though 4 in FoxPro for MS-DOS and notice that the edit
side of the Browse shows all the fields for the current record.
Additional reference words: FoxWin 2.50 2.50a 2.50b 2.60
KBCategory: kbdisplay kbprg kbprb
KBSubcategory: FxprgBrowse
Keywords : FxprgBrowse
Version : 2.50 2.50a 2.50b 2.60
Platform : WINDOWS
Last Reviewed: April 1, 1996