Silly Newbie Question (ViP Specific)
At 02 JUN 1998 06:28:50PM Jason wrote:
Okay so I'm new to VIP….but how do I create a button that closes the Application I've created (like an Exit button)?
Please help…..
At 04 JUN 1998 02:56PM Stephen Bellefontaine Revelation wrote:
Hello Jason,
CloseAppWindow method
Closes an application window that does not have a modal child window, cancels the currently suspended nested events for the window, and destroys all objects on the application window.
The execution of this function causes the RequestClose event and the Term event for the application window to occur:
Use the OpenAppWindow function to open an application window. Use the LotusScript DELETE statement to destroy temporary objects in an event procedure; use the LotusScript DIM statement or SET statement to create temporary objects in an event procedure.
Script syntax
Status%=CloseAppWindow(AppWindowInstanceName$)
Status% is SUCCESS (0) when the operation is successful, or nonzero when it fails.
AppWindowInstanceName$ is the instance name of the application window that you want to close, or null for the current application window.
Hope this helps,
ViPDX Tech Support