Microsoft KB Archive/108632: Difference between revisions
From BetaArchive Wiki
(importing KB archive) |
m (Text replacement - """ to """) |
||
Line 14: | Line 14: | ||
* Microsoft FoxPro for MS-DOS, versions 2.5, 2.5a, and 2.5b | * Microsoft FoxPro for MS-DOS, versions 2.5, 2.5a, and 2.5b | ||
Page D2-96 of the FoxPro for Windows | Page D2-96 of the FoxPro for Windows "Developer's Guide" and page D2-90 of the FoxPro for MS-DOS "Developer?s Guide" give samples for coordinating Browse windows with screens but omits the SAVE clause in the example. If the optional BROWSE parameter SAVE is omitted, the Browse window will close as soon as any other object is clicked. | ||
The code example should be changed to read as follows: | The code example should be changed to read as follows: | ||
<pre> IF NOT WVISIBLE( | <pre> IF NOT WVISIBLE("Client List") | ||
BROWSE NORMAL NOWAIT NODELETE LAST TITLE | BROWSE NORMAL NOWAIT NODELETE LAST TITLE "Client List" ; | ||
NOAPPEND NOMENU SAVE FIELDS company ; | NOAPPEND NOMENU SAVE FIELDS company ; | ||
WHEN showgets() | WHEN showgets() | ||
ENDIF | ENDIF | ||
IF NOT WVISIBLE( | IF NOT WVISIBLE("Account Details") | ||
SELECT details | SELECT details | ||
BROWSE NORMAL NOWAIT NODELETE LAST TITLE | BROWSE NORMAL NOWAIT NODELETE LAST TITLE "Client List" ; | ||
NOAPPEND NOMENU SAVE ; | NOAPPEND NOMENU SAVE ; | ||
FIELDS ; | FIELDS ; |
Latest revision as of 10:40, 20 July 2020
How to Coordinate Browse Windows with ScreensID: Q108632 2.50 2.50a 2.50b | 2.50 2.50a 2.50b WINDOWS | MS-DOS kbprg kbdocerr The information in this article applies to:
Page D2-96 of the FoxPro for Windows "Developer's Guide" and page D2-90 of the FoxPro for MS-DOS "Developer?s Guide" give samples for coordinating Browse windows with screens but omits the SAVE clause in the example. If the optional BROWSE parameter SAVE is omitted, the Browse window will close as soon as any other object is clicked. The code example should be changed to read as follows: IF NOT WVISIBLE("Client List") BROWSE NORMAL NOWAIT NODELETE LAST TITLE "Client List" ; NOAPPEND NOMENU SAVE FIELDS company ; WHEN showgets() ENDIF IF NOT WVISIBLE("Account Details") SELECT details BROWSE NORMAL NOWAIT NODELETE LAST TITLE "Client List" ; NOAPPEND NOMENU SAVE ; FIELDS ; Trans_type:10, ; Trans_date:10, ; Amt:7,Service SELECT clients ENDIF Additional reference words: FoxDos FoxWin 2.50 2.50a 2.50b docerr mouse read KBCategory: kbprg kbdocerr KBSubcategory: FxprgBrowse Keywords : FxprgBrowse Version : 2.50 2.50a 2.50b | 2.50 2.50a 2. Platform : MS-DOS WINDOWS |
Last Reviewed: May 1, 1996 |