Creating a Button that Closes the Application
Document ID: IR10082The information in this article applies to:
- AutoPlay Media Studio 5.0 Standard Edition
- AutoPlay Media Studio 5.0 Professional Edition
SUMMARY
This article describes how to create a button which closes your application.
DISCUSSION
In AutoPlay Media Studio 5.0, to create a button to close your application:
- Choose Insert > Button from the menu.
- Hold the Shift key and double-click on the button you just added. This will open the action editor.
- Add the following action to the On Click tab:
Application.Exit();
- Click OK to close the action editor.
MORE INFORMATION
For more information please see the following topics in the AutoPlay Media Studio 5.0 help file:
- Program Reference | Actions | Application | Application.Exit
KEYWORDS: AutoPlay Media Studio 5.0, Project, Button, Exit, Close
Last reviewed: October 3, 2003
Copyright © 2003 Indigo Rose Corporation. All rights reserved.