ID: Q95666
The information in this article applies to:
When the program example for PUSH POPUP command on page L3-768 of the "Language Reference" manual is executed, the "popexam" popup flashes on the screen very quickly and then the popup disappears. This program example does not pause to demonstrate how PUSH POPUP works.
The program example for the PUSH POPUP command in the "FoxPro Language Reference" is missing several WAIT commands. The WAIT commands allow the program to pause to demonstrate how PUSH POPUP works during program execution.
To correct this problem, do the following:
1. Copy the program example from Help for the POP POPUP command or
refer to the program example in the "Language Reference" manual for
the POP POPUP command. The POP POPUP command has the same program
example as the PUSH POPUP command.
2. Insert the following WAIT commands in the empty lines between the
ACTIVATE POPUP and the RELEASE POPUP commands:
DEFINE POPUP popexam FROM 5,5
DEFINE BAR 1 OF popexam PROMPT 'One'
DEFINE BAR 2 OF popexam PROMPT 'Two'
DEFINE BAR 3 OF popexam PROMPT 'Three'
DEFINE BAR 4 OF popexam PROMPT 'Four'
ACTIVATE POPUP popexam NOWAIT
PUSH POPUP popexam
WAIT 'Popup pushed' WINDOW
RELEASE BAR 2 OF popexam
WAIT 'This is the modified Popup' WINDOW
POP POPUP popexam
WAIT 'Popup popped, original popup restored' WINDOW
DEACTIVATE POPUP popexam
RELEASE POPUP popexam
Additional reference words: FoxDos FoxWin 2.50 docerr example
KBCategory: kbprg kbdocerr
KBSubcategory: FxprgGeneral
Last Reviewed: June 27, 1995