SHOW POPUP

 

Syntax:

 

       Then: SHOW POPUP (row,col,popupnum) exp
       Then: SHOW POPUP (row,col) exp
       Then: SHOW POPUP exp

 

"r","c" are the screen location of the upper-left corner of the popup window.

"popupnum" is the popup window number; if popupnum is not specified, 1 is used. "popupnum" is an expression.

"exp" is the message to display.

 

NOTE: Popups that overlap another popup must be taken down in the opposite order in which they were displayed. "r" and "c" may each be negative to specify centering in that direction. If not specified, the popup is centered both vertically and horizontally.

 

Version Ref:  4.5

 

Description:

SHOW POPUP displays an expression in a popup window. These windows can be numbered.

SHOW POPUP windows must be cleared with the CLEARS command.

 

CLEARS

 

Syntax:

 

       Then: CLEARS popupnum
       Then: CLEARS

 

"popupnum" is the popup screen number as specified with SHOW POPUP. If not specified, ALL popups are cleared.

 

NOTE: If you have overlapping popup windows, you must clear them in the opposite order they were created.

 

 

Description:

CLEARS takes down a SHOW POPUP window. If no popup is on the screen, it does nothing. CLEARS can take down specific numbered SHOW POPUP windows. (Do this in the reverse order they were put up.)

 

Examples:

 

         If:
       Then: lookup cust k=1 i=a -nx
         If: not cust
       Then: show popup ("7","9") "Customer not on file";clears;restart