Home | Contents | Index | Help | < Browse | Browse >

 OnPopupClose
	 [ EXEC <command> | RUN <command> | ScreenRun <screen> <cmd> 
	 | UPDATE | LOADUPDATE | LOAD <file> [arguments]             
	 | EXIT [<string>] | QUIT [<string>]                         
	 | DumpX <variable> | DumpY <variable>                       
	 | LastX <variable> | LastY <variable>                       
	 | LastXPos <variable> | LastYPos <variable>                 
	 | Popup | PopupClose                                        
	 | Setenv <variable> <value> | UnSetenv <variable> ]         
	 ( ['command 1' 'command 2' ... 'command n'] )               

 This command is executed every time the window is closed by the Popup command,
 so OnPopupClose doesn't have any effect at all if you have a Popup command in
 your script.

 There can be only one OnPopupClose command in a script.
 
 It's a good idea to use OnPopupClose in popup submenus:
 
	Popup hide
	OnPopupClose exit
	title OFF
	X AtPointer
	Y AtPointer
	
	button One
	button Two
	button Three
	button Four

 Try it!
 
 
 Also see: OnPopup

 

Home | Contents | Index | Help | < Browse | Browse >