third_party_content:community:commentary:forums_nonworks:d21f7036eee4d08d85256617007b7d79

Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

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

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/d21f7036eee4d08d85256617007b7d79.txt
  • Last modified: 2023/12/28 07:40
  • by 127.0.0.1