Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

creating an exit button

Status
Not open for further replies.

drico

Programmer
Oct 23, 2002
4
0
0
IE
hello,
I want to create an exit button, in my package, that when pressed, asks the question "are yoou syr you want to quit"
followed by 2 button yes an no,

no returns you to the main menu, and yes exits authorware

thanx
drico
 
Just drop in an interaction with only one response. Have this set up as a button response.
Have a map attached to the interaction.
Drag a display into the map and create your are you sure, and any graphics you want
Then use another interaction, this time with two button responses. Yes and NO
No is just an empty map that goes back to main line. Make sure the no button is set to exit interaction and erase after next entry.
On the yes button simply add a calculation that has

Quit()

hope this helps

simon
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top