PUSH POPUP

From Recital Documentation Wiki
Jump to: navigation, search

Purpose

Puts a popup definition on the stack


Syntax

PUSH POPUP <popup>


See Also

ACTIVATE POPUP, DEFINE POPUP, POP POPUP, SET COMPATIBLE


Description

PUSH POPUP places the specified <popup> on the stack. This allows popup definitions to be changed while still allowing the original definition to be recovered via the POP POPUP command. Popup definitions are always placed on and removed from the stack in a last in, first out order. SET COMPATIBLE should be set to ON when using this command.


Example

define popup poptest from 5,5
define bar 1 of poptest prompt "one"
define bar 2 of poptest prompt "two"
define bar 3 of poptest prompt "three"
define bar 4 of poptest prompt "four"
 
activate popup poptest nowait
push popup poptest
wait "Popup Pushed" window
 
release bar 2 of poptest
wait "This Is The Modified Popup" window
 
pop popup poptest
wait "Popup Popped, Original Popup Restored" window
 
deactivate popup poptest
release popup poptest


Products

Recital